pub enum WireErrorKind {
UnknownVerb,
BadArgs,
Internal,
NotImplemented,
}Expand description
Error category. The full string message carries detail; the kind is the machine-readable discriminator.
Variants§
UnknownVerb
BadArgs
Internal
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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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