[][src]Struct esb::EsbHeader

pub struct EsbHeader { /* fields omitted */ }

The non-payload portion of an ESB packet

Methods

impl EsbHeader[src]

pub fn pid(&self) -> u8[src]

Accessor for the Pipe ID of the packet

pub fn no_ack(&self) -> bool[src]

Accessor for the no-ack field of the packet

pub fn payload_len(&self) -> usize[src]

Accessor for the length (in bytes) of the payload

Auto Trait Implementations

impl Send for EsbHeader

impl Sync for EsbHeader

impl Unpin for EsbHeader

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> Same<T> for T

type Output = T

Should always be Self

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.