[−][src]Struct sage_mqtt::FourByteInteger
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]
fn decode<R: Read>(reader: &mut R) -> SageResult<Self>
[src]
impl Default for FourByteInteger
[src]
fn default() -> FourByteInteger
[src]
impl Encode for FourByteInteger
[src]
impl Eq for FourByteInteger
[src]
impl From<FourByteInteger> for u32
[src]
fn from(value: FourByteInteger) -> Self
[src]
impl From<FourByteInteger> for u64
[src]
fn from(value: FourByteInteger) -> Self
[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]
fn eq(&self, other: &FourByteInteger) -> bool
[src]
fn ne(&self, other: &FourByteInteger) -> bool
[src]
impl StructuralEq for FourByteInteger
[src]
impl StructuralPartialEq for FourByteInteger
[src]
Auto Trait Implementations
impl RefUnwindSafe for FourByteInteger
impl Send for FourByteInteger
impl Sync for FourByteInteger
impl Unpin for FourByteInteger
impl UnwindSafe for FourByteInteger
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,