Struct websocket_base::message::CloseData
source · [−]Expand description
Represents data contained in a Close message
Fields
status_code: u16
The status-code of the CloseData
reason: String
The reason-phrase of the CloseData
Implementations
Trait Implementations
impl Eq for CloseData
impl StructuralEq for CloseData
impl StructuralPartialEq for CloseData
Auto Trait Implementations
impl RefUnwindSafe for CloseData
impl Send for CloseData
impl Sync for CloseData
impl Unpin for CloseData
impl UnwindSafe for CloseData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more