Enum libp2p::websocket::error::Error [−][src]
pub enum Error<E> {
Transport(E),
Tls(Error),
Handshake(Box<dyn Error + Send + Sync + 'static, Global>),
TooManyRedirects,
InvalidMultiaddr(Multiaddr),
InvalidRedirectLocation,
Base(Box<dyn Error + Send + Sync + 'static, Global>),
}
Expand description
Error in WebSockets.
Variants
Error in the transport layer underneath.
Tls(Error)
A TLS related error.
Tuple Fields of Tls
0: Error
Websocket handshake error.
The configured maximum of redirects have been made.
InvalidMultiaddr(Multiaddr)
A multi-address is not supported.
Tuple Fields of InvalidMultiaddr
0: Multiaddr
The location header URL was invalid.
Websocket base framing error.