pub enum RuntimeErrorKind {
ProtocolError,
ConfigError,
BindError,
Timeout,
InternalError,
}Expand description
Machine-readable runtime error classification.
Variants§
Trait Implementations§
Source§impl Clone for RuntimeErrorKind
impl Clone for RuntimeErrorKind
Source§fn clone(&self) -> RuntimeErrorKind
fn clone(&self) -> RuntimeErrorKind
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 RuntimeErrorKind
impl Debug for RuntimeErrorKind
Source§impl<'de> Deserialize<'de> for RuntimeErrorKind
impl<'de> Deserialize<'de> for RuntimeErrorKind
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 Display for RuntimeErrorKind
impl Display for RuntimeErrorKind
Source§impl PartialEq for RuntimeErrorKind
impl PartialEq for RuntimeErrorKind
Source§fn eq(&self, other: &RuntimeErrorKind) -> bool
fn eq(&self, other: &RuntimeErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeErrorKind
impl Serialize for RuntimeErrorKind
impl Copy for RuntimeErrorKind
impl Eq for RuntimeErrorKind
impl StructuralPartialEq for RuntimeErrorKind
Auto Trait Implementations§
impl Freeze for RuntimeErrorKind
impl RefUnwindSafe for RuntimeErrorKind
impl Send for RuntimeErrorKind
impl Sync for RuntimeErrorKind
impl Unpin for RuntimeErrorKind
impl UnsafeUnpin for RuntimeErrorKind
impl UnwindSafe for RuntimeErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.