pub struct Disconnected {
pub last_serial: u32,
pub reason: DisconnectReason,
pub explanation: String,
}Fields§
§last_serial: u32§reason: DisconnectReason§explanation: StringTrait Implementations§
Source§impl Clone for Disconnected
impl Clone for Disconnected
Source§fn clone(&self) -> Disconnected
fn clone(&self) -> Disconnected
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 Disconnected
impl Debug for Disconnected
Source§impl PartialEq for Disconnected
impl PartialEq for Disconnected
impl StructuralPartialEq for Disconnected
Auto Trait Implementations§
impl Freeze for Disconnected
impl RefUnwindSafe for Disconnected
impl Send for Disconnected
impl Sync for Disconnected
impl Unpin for Disconnected
impl UnwindSafe for Disconnected
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