Enum ws_tool::ConnectionState [−][src]
pub enum ConnectionState {
Created,
HandShaking,
Running,
Closing,
Closed,
}
Expand description
websocket connection state
Variants
init state
tcp & tls connection creating state
websocket connection has been successfully established
client or peer has send “close frame”
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