[][src]Struct mynewt::kernel::os::os_mbuf

#[repr(C)]
pub struct os_mbuf { pub om_data: *mut u8, pub om_flags: u8, pub om_pkthdr_len: u8, pub om_len: u16, pub om_omp: *mut os_mbuf_pool, pub om_next: os_mbuf__bindgen_ty_1, pub om_databuf: __IncompleteArrayField<u8>, }

Chained memory buffer.

Fields

om_data: *mut u8

Current pointer to data in the structure

om_flags: u8

Flags associated with this buffer, see OS_MBUF_F_* defintions

om_pkthdr_len: u8

Length of packet header

om_len: u16

Length of data in this buffer

om_omp: *mut os_mbuf_pool

The mbuf pool this mbuf was allocated out of

om_next: os_mbuf__bindgen_ty_1om_databuf: __IncompleteArrayField<u8>

Pointer to the beginning of the data, after this buffer

Trait Implementations

impl Default for os_mbuf[src]

Auto Trait Implementations

impl !Send for os_mbuf

impl !Sync for os_mbuf

Blanket Implementations

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> From<T> for T[src]

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

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.

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

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

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