Enum ntex::ws::error::WsError [−][src]
pub enum WsError<E> {
Service(E),
KeepAlive,
Protocol(ProtocolError),
Disconnected(Option<Error>),
}
Expand description
Websocket service errors
Variants
Service(E)
KeepAlive
Keep-alive error
Protocol(ProtocolError)
Tuple Fields
Ws protocol level error
Disconnected(Option<Error>)
Peer has been disconnected
Trait Implementations
Auto Trait Implementations
impl<E> !RefUnwindSafe for WsError<E>
impl<E> !UnwindSafe for WsError<E>
Blanket Implementations
Mutably borrows from an owned value. Read more
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