pub enum WsState {
Connecting,
Open,
Closing,
Closed,
}Variants§
Trait Implementations§
impl Copy for WsState
impl StructuralPartialEq for WsState
Auto Trait Implementations§
impl Freeze for WsState
impl RefUnwindSafe for WsState
impl Send for WsState
impl Sync for WsState
impl Unpin for WsState
impl UnsafeUnpin for WsState
impl UnwindSafe for WsState
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