[][src]Enum esp_idf_bindgen::pbuf_layer

#[repr(u32)]pub enum pbuf_layer {
    PBUF_TRANSPORT,
    PBUF_IP,
    PBUF_LINK,
    PBUF_RAW_TX,
}

@ingroup pbuf Enumeration of pbuf layers

Variants

PBUF_TRANSPORT

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().

PBUF_IP

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

PBUF_RAW_TX

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

impl Send for pbuf_layer

impl Sync for pbuf_layer

impl Unpin for pbuf_layer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.