pub struct DisconnectionEvent {
pub reason_code: Option<u16>,
}Fields§
§reason_code: Option<u16>Trait Implementations§
Source§impl Debug for DisconnectionEvent
impl Debug for DisconnectionEvent
Auto Trait Implementations§
impl Freeze for DisconnectionEvent
impl RefUnwindSafe for DisconnectionEvent
impl Send for DisconnectionEvent
impl Sync for DisconnectionEvent
impl Unpin for DisconnectionEvent
impl UnwindSafe for DisconnectionEvent
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