pub struct ConnectionCloseArgs {
pub code: u16,
pub text: String,
pub class_id: u16,
pub method_id: u16,
}Fields§
§code: u16§text: String§class_id: u16§method_id: u16Trait Implementations§
Source§impl Debug for ConnectionCloseArgs
impl Debug for ConnectionCloseArgs
Source§impl Default for ConnectionCloseArgs
impl Default for ConnectionCloseArgs
Source§fn default() -> ConnectionCloseArgs
fn default() -> ConnectionCloseArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectionCloseArgs
impl RefUnwindSafe for ConnectionCloseArgs
impl Send for ConnectionCloseArgs
impl Sync for ConnectionCloseArgs
impl Unpin for ConnectionCloseArgs
impl UnwindSafe for ConnectionCloseArgs
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