pub struct WsClose {
pub code: u16,
pub reason: String,
}Fields§
§code: u16§reason: StringTrait Implementations§
impl Eq for WsClose
impl StructuralPartialEq for WsClose
Auto Trait Implementations§
impl Freeze for WsClose
impl RefUnwindSafe for WsClose
impl Send for WsClose
impl Sync for WsClose
impl Unpin for WsClose
impl UnsafeUnpin for WsClose
impl UnwindSafe for WsClose
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