Enum exocore_transport::error::Error [−][src]
pub enum Error {
Libp2pTransport(Arc<dyn Error + Send + Sync + 'static>),
Serialization(Error),
SerializationNotInSchema(u16),
Io(Error),
Upgrade,
Poisoned,
Other(String),
}
Expand description
Transport related error
Variants
Libp2pTransport(Arc<dyn Error + Send + Sync + 'static>)
Serialization(Error)
SerializationNotInSchema(u16)
Tuple Fields
0: u16
Io(Error)
Tuple Fields
0: Error
Upgrade
Poisoned
Other(String)
Tuple Fields
0: String
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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