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