pub enum Error {
Show 24 variants
Ed25519(Error),
Chacha20Poly1305(Error),
InvalidData,
InvalidState,
NonceOverflow,
NotSupported,
EssentialTaskClosed,
RouterDoesntExist,
DialFailure,
Timeout,
Tunnel(TunnelError),
Channel(ChannelError),
Streaming(StreamingError),
Query(QueryError),
I2cp(I2cpError),
Connection(ConnectionError),
Custom(String),
Missing,
Session(SessionError),
NetworkMismatch,
Expired,
Routing(RoutingError),
Duplicate,
Ssu2(Ssu2Error),
}Variants§
Ed25519(Error)
Chacha20Poly1305(Error)
InvalidData
InvalidState
NonceOverflow
NotSupported
EssentialTaskClosed
RouterDoesntExist
DialFailure
Timeout
Tunnel(TunnelError)
Channel(ChannelError)
Streaming(StreamingError)
Query(QueryError)
I2cp(I2cpError)
Connection(ConnectionError)
Custom(String)
Missing
Session(SessionError)
NetworkMismatch
Expired
Routing(RoutingError)
Duplicate
Ssu2(Ssu2Error)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more