pub enum WireErrorKind {
UnknownVerb,
BadArgs,
Internal,
Timeout,
NotImplemented,
}Expand description
Error category. The full string message carries detail; the kind is the machine-readable discriminator.
Variants§
UnknownVerb
BadArgs
Internal
Timeout
A bounded operation exceeded its time budget. Used by handlers
that wrap an inner future in tokio::time::timeout (or one of
vane_core::timeout_with’s named stages).
NotImplemented
Future-proof for streaming verbs and other deferred capabilities.
Trait Implementations§
Source§impl Clone for WireErrorKind
impl Clone for WireErrorKind
Source§fn clone(&self) -> WireErrorKind
fn clone(&self) -> WireErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WireErrorKind
impl Debug for WireErrorKind
Source§impl<'de> Deserialize<'de> for WireErrorKind
impl<'de> Deserialize<'de> for WireErrorKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WireErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WireErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WireErrorKind
impl PartialEq for WireErrorKind
Source§fn eq(&self, other: &WireErrorKind) -> bool
fn eq(&self, other: &WireErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WireErrorKind
impl Serialize for WireErrorKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for WireErrorKind
impl Eq for WireErrorKind
impl StructuralPartialEq for WireErrorKind
Auto Trait Implementations§
impl Freeze for WireErrorKind
impl RefUnwindSafe for WireErrorKind
impl Send for WireErrorKind
impl Sync for WireErrorKind
impl Unpin for WireErrorKind
impl UnsafeUnpin for WireErrorKind
impl UnwindSafe for WireErrorKind
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