[−][src]Enum esp_idf_bindgen::pbuf_layer
pub enum pbuf_layer { PBUF_TRANSPORT, PBUF_IP, PBUF_LINK, PBUF_RAW_TX, }
@ingroup pbuf Enumeration of pbuf layers
Variants
Includes spare room for transport layer header, e.g. UDP header. Use this if you intend to pass the pbuf to functions like udp_send().
Includes spare room for IP header. Use this if you intend to pass the pbuf to functions like raw_send().
Includes spare room for link layer header (ethernet header). Use this if you intend to pass the pbuf to functions like ethernet_output(). @see PBUF_LINK_HLEN
Includes spare room for additional encapsulation header before ethernet headers (e.g. 802.11). Use this if you intend to pass the pbuf to functions like netif->linkoutput(). @see PBUF_LINK_ENCAPSULATION_HLEN
Implementations
impl pbuf_layer
[src]
pub const PBUF_RAW: pbuf_layer
[src]
Trait Implementations
impl Clone for pbuf_layer
[src][+]
impl Copy for pbuf_layer
[src]
impl Debug for pbuf_layer
[src][+]
impl Eq for pbuf_layer
[src]
impl Hash for pbuf_layer
[src][+]
impl PartialEq<pbuf_layer> for pbuf_layer
[src][+]
impl StructuralEq for pbuf_layer
[src]
impl StructuralPartialEq for pbuf_layer
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,