Enum kitsune_p2p_types::KitsuneErrorKind [−][src]
#[non_exhaustive]
pub enum KitsuneErrorKind {
Unit,
TimedOut,
Closed,
Other(Box<dyn Error + Send + Sync>),
}
Expand description
Error related to remote communication.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Temp error type for internal logic.
The operation timed out.
This object is closed, calls on it are invalid.
Unspecified error.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for KitsuneErrorKind
impl Send for KitsuneErrorKind
impl Sync for KitsuneErrorKind
impl Unpin for KitsuneErrorKind
impl !UnwindSafe for KitsuneErrorKind
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