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