[−][src]Enum esp_idf_bindgen::pbuf_layer
@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]
fn clone(&self) -> pbuf_layer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<pbuf_layer> for pbuf_layer
[src]
fn eq(&self, other: &pbuf_layer) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[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,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,