Enum awc::error::WsClientError [−][src]
pub enum WsClientError { InvalidResponseStatus(StatusCode), InvalidUpgradeHeader, InvalidConnectionHeader(HeaderValue), MissingConnectionHeader, MissingWebSocketAcceptHeader, InvalidChallengeResponse([u8; 28], HeaderValue), Protocol(WsProtocolError), SendRequest(SendRequestError), }
Expand description
Websocket client error
Variants
InvalidResponseStatus(StatusCode)
Invalid response status
Invalid upgrade header
InvalidConnectionHeader(HeaderValue)
Invalid connection header
Missing Connection header
Missing Sec-Websocket-Accept header
InvalidChallengeResponse([u8; 28], HeaderValue)
Invalid challenge response
Protocol(WsProtocolError)
Protocol error
SendRequest(SendRequestError)
Send request error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for WsClientError
impl !Send for WsClientError
impl !Sync for WsClientError
impl Unpin for WsClientError
impl !UnwindSafe for WsClientError