[][src]Struct lorawan::parser::MHDR

pub struct MHDR(_);

MHDR represents LoRaWAN MHDR.

Implementations

impl MHDR[src]

pub fn new(byte: u8) -> MHDR[src]

pub fn mtype(&self) -> MType[src]

Gives the type of message that PhyPayload is carrying.

pub fn major(&self) -> Major[src]

Gives the version of LoRaWAN payload format.

Trait Implementations

impl Debug for MHDR[src]

impl From<u8> for MHDR[src]

impl PartialEq<MHDR> for MHDR[src]

impl StructuralPartialEq for MHDR[src]

Auto Trait Implementations

impl RefUnwindSafe for MHDR

impl Send for MHDR

impl Sync for MHDR

impl Unpin for MHDR

impl UnwindSafe for MHDR

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.