Enum poem::error::WebSocketError [−][src]
pub enum WebSocketError {
InvalidProtocol,
UpgradeError(UpgradeError),
}
This is supported on crate feature
websocket
only.Expand description
A possible error value when handling websocket.
Variants
InvalidProtocol
Invalid protocol
UpgradeError(UpgradeError)
Tuple Fields
0: UpgradeError
Upgrade Error
Trait Implementations
Performs the conversion.
The status code of this error.
Auto Trait Implementations
impl RefUnwindSafe for WebSocketError
impl Send for WebSocketError
impl Sync for WebSocketError
impl Unpin for WebSocketError
impl UnwindSafe for WebSocketError
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