Struct contec_protocol::incoming_package::DisconnectNotice
source · [−]pub struct DisconnectNotice {
pub reason: u8,
}
Expand description
Device disconnect notice
Fields
reason: u8
Disconnect reason
Trait Implementations
sourceimpl Clone for DisconnectNotice
impl Clone for DisconnectNotice
sourcefn clone(&self) -> DisconnectNotice
fn clone(&self) -> DisconnectNotice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DisconnectNotice
impl Debug for DisconnectNotice
impl Copy for DisconnectNotice
Auto Trait Implementations
impl RefUnwindSafe for DisconnectNotice
impl Send for DisconnectNotice
impl Sync for DisconnectNotice
impl Unpin for DisconnectNotice
impl UnwindSafe for DisconnectNotice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more