pub enum WebSocketState {
Connecting,
Opened,
Closing,
Closed,
Error,
}
Variants§
Trait Implementations§
Source§impl Clone for WebSocketState
impl Clone for WebSocketState
Source§fn clone(&self) -> WebSocketState
fn clone(&self) -> WebSocketState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for WebSocketState
impl PartialEq for WebSocketState
impl Copy for WebSocketState
impl Eq for WebSocketState
impl StructuralPartialEq for WebSocketState
Auto Trait Implementations§
impl Freeze for WebSocketState
impl RefUnwindSafe for WebSocketState
impl Send for WebSocketState
impl Sync for WebSocketState
impl Unpin for WebSocketState
impl UnwindSafe for WebSocketState
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