Enum awc::error::WsHandshakeError [−][src]
pub enum WsHandshakeError {
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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