[][src]Struct sage_mqtt::Bits

pub struct Bits(pub u8);

Bits in a byte are labelled 7 to 0. Bit number 7 is the most significant bit. This type can be converted from and to u8.

Trait Implementations

impl Debug for Bits[src]

impl Decode for Bits[src]

impl Default for Bits[src]

impl Encode for Bits[src]

impl Eq for Bits[src]

impl From<Bits> for u8[src]

impl From<u8> for Bits[src]

impl PartialEq<Bits> for Bits[src]

impl StructuralEq for Bits[src]

impl StructuralPartialEq for Bits[src]

Auto Trait Implementations

impl RefUnwindSafe for Bits

impl Send for Bits

impl Sync for Bits

impl Unpin for Bits

impl UnwindSafe for Bits

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.