Enum ws_tool::errors::WsError [−][src]
pub enum WsError {
Show 13 variants
InvalidUri(String),
UnsupportedProxy(String),
InvalidProxy(String),
CertFileNotFound(String),
LoadCertFailed(String),
ConnectionFailed(String),
TlsDnsFailed(String),
IOError(String),
HandShakeFailed(String),
ProtocolError(ProtocolError),
ProxyError(String),
InvalidConnState(ConnectionState),
UnsupportedFrame(OpCode),
}Expand description
errors during handshake, read/write frame
Variants
InvalidUri(String)Tuple Fields of InvalidUri
0: StringUnsupportedProxy(String)Tuple Fields of UnsupportedProxy
0: StringInvalidProxy(String)Tuple Fields of InvalidProxy
0: StringCertFileNotFound(String)Tuple Fields of CertFileNotFound
0: StringLoadCertFailed(String)Tuple Fields of LoadCertFailed
0: StringConnectionFailed(String)Tuple Fields of ConnectionFailed
0: StringTlsDnsFailed(String)Tuple Fields of TlsDnsFailed
0: StringIOError(String)Tuple Fields of IOError
0: StringHandShakeFailed(String)Tuple Fields of HandShakeFailed
0: StringProtocolError(ProtocolError)Tuple Fields of ProtocolError
ProxyError(String)Tuple Fields of ProxyError
0: StringInvalidConnState(ConnectionState)Tuple Fields of InvalidConnState
UnsupportedFrame(OpCode)Tuple Fields of UnsupportedFrame
0: OpCode