Enum actix_web_actors::ws::HandshakeError [−][src]
pub enum HandshakeError {
GetMethodRequired,
NoWebsocketUpgrade,
NoConnectionUpgrade,
NoVersionHeader,
UnsupportedVersion,
BadWebsocketKey,
}
Expand description
WebSocket handshake errors
Variants
GetMethodRequired
Only get method is allowed.
NoWebsocketUpgrade
Upgrade header if not set to WebSocket.
NoConnectionUpgrade
Connection header is not set to upgrade.
NoVersionHeader
WebSocket version header is not set.
UnsupportedVersion
Unsupported WebSocket version.
BadWebsocketKey
WebSocket key is not set or wrong.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HandshakeError
impl Send for HandshakeError
impl Sync for HandshakeError
impl Unpin for HandshakeError
impl UnwindSafe for HandshakeError
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