Enum kitsune_p2p::KitsuneP2pError [−][src]
#[non_exhaustive]
pub enum KitsuneP2pError {
GhostError(GhostError),
KitsuneError(KitsuneError),
RoutingSpaceError(Arc<KitsuneSpace>),
RoutingAgentError(Arc<KitsuneAgent>),
DecodingError(Box<str>),
TransportError(TransportError),
StdIoError(Error),
Reqwest(Error),
Bootstrap(Box<str>),
SystemTime(SystemTimeError),
TryFromInt(TryFromIntError),
Other(Box<dyn Error + Send + Sync>),
}
Expand description
KitsuneP2p Error Type.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
GhostError(GhostError)
GhostError
Tuple Fields of GhostError
0: GhostError
KitsuneError(KitsuneError)
Base Kitsune Error
Tuple Fields of KitsuneError
0: KitsuneError
RoutingSpaceError(Arc<KitsuneSpace>)
RoutingSpaceError
Tuple Fields of RoutingSpaceError
0: Arc<KitsuneSpace>
RoutingAgentError(Arc<KitsuneAgent>)
RoutingAgentError
Tuple Fields of RoutingAgentError
0: Arc<KitsuneAgent>
DecodingError
TransportError(TransportError)
TransportError
Tuple Fields of TransportError
StdIoError(Error)
std::io::Error
Tuple Fields of StdIoError
0: Error
Reqwest(Error)
Reqwest crate.
Tuple Fields of Reqwest
0: Error
Bootstrap call failed.
SystemTime(SystemTimeError)
SystemTime call failed.
Tuple Fields of SystemTime
TryFromInt(TryFromIntError)
Integer casting failed.
Tuple Fields of TryFromInt
Other
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for KitsuneP2pError
impl Send for KitsuneP2pError
impl Sync for KitsuneP2pError
impl Unpin for KitsuneP2pError
impl !UnwindSafe for KitsuneP2pError
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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
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