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(Box<dyn Error + Send + Sync>),
HandShakeFailed(String),
ProtocolError {
close_code: u16,
error: ProtocolError,
},
ProxyError(String),
InvalidConnState(ConnectionState),
UnsupportedFrame(OpCode),
}Expand description
errors during handshake, read/write frame
Variants
InvalidUri(String)
Tuple Fields
0: StringUnsupportedProxy(String)
Tuple Fields
0: StringInvalidProxy(String)
Tuple Fields
0: StringCertFileNotFound(String)
Tuple Fields
0: StringLoadCertFailed(String)
Tuple Fields
0: StringConnectionFailed(String)
Tuple Fields
0: StringTlsDnsFailed(String)
Tuple Fields
0: StringIOError(Box<dyn Error + Send + Sync>)
HandShakeFailed(String)
Tuple Fields
0: StringProtocolError
ProxyError(String)
Tuple Fields
0: StringInvalidConnState(ConnectionState)
Tuple Fields
UnsupportedFrame(OpCode)
Tuple Fields
0: OpCodeTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WsError
impl !UnwindSafe for WsError
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
