pub struct Goodbye {
pub reason_code: u32,
pub message: Option<String>,
}Fields§
§reason_code: u32§message: Option<String>Trait Implementations§
impl Eq for Goodbye
impl StructuralPartialEq for Goodbye
Auto Trait Implementations§
impl Freeze for Goodbye
impl RefUnwindSafe for Goodbye
impl Send for Goodbye
impl Sync for Goodbye
impl Unpin for Goodbye
impl UnsafeUnpin for Goodbye
impl UnwindSafe for Goodbye
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