Struct mqtt::control::packet_type::InvalidFlag
source · pub struct InvalidFlag(pub ControlType, pub u8);
Tuple Fields§
§0: ControlType
§1: u8
Trait Implementations§
source§impl Debug for InvalidFlag
impl Debug for InvalidFlag
source§impl Display for InvalidFlag
impl Display for InvalidFlag
source§impl Error for InvalidFlag
impl Error for InvalidFlag
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InvalidFlag> for PacketTypeError
impl From<InvalidFlag> for PacketTypeError
source§fn from(source: InvalidFlag) -> Self
fn from(source: InvalidFlag) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidFlag
impl RefUnwindSafe for InvalidFlag
impl Send for InvalidFlag
impl Sync for InvalidFlag
impl Unpin for InvalidFlag
impl UnwindSafe for InvalidFlag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more