pub struct Disconnect { /* private fields */ }
Expand description
An MQTT DISCONNECT
packet
Implementations§
Trait Implementations§
Source§impl Clone for Disconnect
impl Clone for Disconnect
Source§fn clone(&self) -> Disconnect
fn clone(&self) -> Disconnect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Disconnect
impl Debug for Disconnect
Source§impl IntoIterator for Disconnect
impl IntoIterator for Disconnect
Source§impl PartialEq for Disconnect
impl PartialEq for Disconnect
Source§impl TryFromIterator for Disconnect
impl TryFromIterator for Disconnect
Source§fn try_from_iter<T>(iter: T) -> Result<Self, DecoderError>where
T: IntoIterator<Item = u8>,
fn try_from_iter<T>(iter: T) -> Result<Self, DecoderError>where
T: IntoIterator<Item = u8>,
Tries to build
Self
from the given byte iteratorimpl Eq for Disconnect
impl StructuralPartialEq for Disconnect
Auto Trait Implementations§
impl Freeze for Disconnect
impl RefUnwindSafe for Disconnect
impl Send for Disconnect
impl Sync for Disconnect
impl Unpin for Disconnect
impl UnwindSafe for Disconnect
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