[][src]Struct sage_mqtt::FourByteInteger

pub struct FourByteInteger(pub u32);

Four bytes data values are 32-bits unsigned integer represented in big-endian. That means the most significant byte (MSB) is presented first on the stream. This type can be converted from u8, u16 and u32 and to u32 and u64.

Trait Implementations

impl Debug for FourByteInteger[src]

impl Decode for FourByteInteger[src]

impl Default for FourByteInteger[src]

impl Encode for FourByteInteger[src]

impl Eq for FourByteInteger[src]

impl From<FourByteInteger> for u32[src]

impl From<FourByteInteger> for u64[src]

impl From<u16> for FourByteInteger[src]

impl From<u32> for FourByteInteger[src]

impl From<u8> for FourByteInteger[src]

impl PartialEq<FourByteInteger> for FourByteInteger[src]

impl StructuralEq for FourByteInteger[src]

impl StructuralPartialEq for FourByteInteger[src]

Auto Trait Implementations

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, 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.