pub enum WebSocketStatus {
    Opened,
    Closed,
    Error,
}
Expand description

A status of a websocket connection. Used for status notification.

Variants

Opened

Fired when a websocket connection was opened.

Closed

Fired when a websocket connection was closed.

Error

Fired when a websocket connection was failed.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.