[][src]Struct lorawan::parser::DevNonce

pub struct DevNonce<T: AsRef<[u8]>>(_);

DevNonce represents a 16 bit device nonce.

Implementations

impl<T: AsRef<[u8]>> DevNonce<T>[src]

pub fn new(data: T) -> Option<DevNonce<T>>[src]

impl<T: AsRef<[u8]>> DevNonce<T>[src]

pub fn to_owned(&self) -> DevNonce<[u8; 2]>[src]

Trait Implementations

impl<T: AsRef<[u8]>> AsRef<[u8]> for DevNonce<T>[src]

impl<T: AsRef<[u8]> + Clone> Clone for DevNonce<T>[src]

impl<T: AsRef<[u8]> + Copy> Copy for DevNonce<T>[src]

impl<T: Debug + AsRef<[u8]>> Debug for DevNonce<T>[src]

impl<T: AsRef<[u8]> + Default> Default for DevNonce<T>[src]

impl<T: Eq + AsRef<[u8]>> Eq for DevNonce<T>[src]

impl<'a> From<&'a [u8; 2]> for DevNonce<&'a [u8; 2]>[src]

impl<T: AsRef<[u8]>> Hash for DevNonce<T>[src]

impl<T: AsRef<[u8]>, V: AsRef<[u8]>> PartialEq<DevNonce<T>> for DevNonce<V>[src]

impl<T: AsRef<[u8]>> StructuralEq for DevNonce<T>[src]

impl<T: AsRef<[u8]>> ToString for DevNonce<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for DevNonce<T> where
    T: RefUnwindSafe

impl<T> Send for DevNonce<T> where
    T: Send

impl<T> Sync for DevNonce<T> where
    T: Sync

impl<T> Unpin for DevNonce<T> where
    T: Unpin

impl<T> UnwindSafe for DevNonce<T> where
    T: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.