Enum libp2p::websocket::error::Error [−][src]
pub enum Error<E> {
Transport(E),
Tls(Error),
Handshake(Box<dyn Error + 'static + Sync + Send, Global>),
TooManyRedirects,
InvalidMultiaddr(Multiaddr),
InvalidRedirectLocation,
Base(Box<dyn Error + 'static + Sync + Send, Global>),
}Expand description
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> !UnwindSafe for Error<E>Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V