Enum ws_tool::ConnectionState [−][src]
pub enum ConnectionState {
Created,
HandShaking,
Running,
Closing,
Closed,
}Expand description
websocket connection state
Variants
Created
init state
HandShaking
tcp & tls connection creating state
Running
websocket connection has been successfully established
Closing
client or peer has send “close frame”
Closed
client or peer have send “close” response frame
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConnectionState
impl Send for ConnectionState
impl Sync for ConnectionState
impl Unpin for ConnectionState
impl UnwindSafe for ConnectionState
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
