pub enum ConnectionErrorCode {
TransportError(TransportError),
CryptoError(CryptoError),
Value(u64),
}
Variants§
Trait Implementations§
Source§impl Clone for ConnectionErrorCode
impl Clone for ConnectionErrorCode
Source§fn clone(&self) -> ConnectionErrorCode
fn clone(&self) -> ConnectionErrorCode
Returns a copy of the value. Read more
1.0.0 · 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 ConnectionErrorCode
impl Debug for ConnectionErrorCode
Source§impl<'de> Deserialize<'de> for ConnectionErrorCode
impl<'de> Deserialize<'de> for ConnectionErrorCode
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 ConnectionErrorCode
impl PartialEq for ConnectionErrorCode
Source§impl Serialize for ConnectionErrorCode
impl Serialize for ConnectionErrorCode
impl Eq for ConnectionErrorCode
impl StructuralPartialEq for ConnectionErrorCode
Auto Trait Implementations§
impl Freeze for ConnectionErrorCode
impl RefUnwindSafe for ConnectionErrorCode
impl Send for ConnectionErrorCode
impl Sync for ConnectionErrorCode
impl Unpin for ConnectionErrorCode
impl UnwindSafe for ConnectionErrorCode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.