#[repr(u32)]pub enum TransportErrorCode {
ConnectionRefused = 4_001,
HandshakeFailed = 4_002,
Timeout = 4_003,
TlsError = 4_004,
ChannelClosed = 4_005,
ProtocolViolation = 4_006,
}Variants§
ConnectionRefused = 4_001
HandshakeFailed = 4_002
Timeout = 4_003
TlsError = 4_004
ChannelClosed = 4_005
ProtocolViolation = 4_006
Trait Implementations§
Source§impl Clone for TransportErrorCode
impl Clone for TransportErrorCode
impl Copy for TransportErrorCode
Source§impl Debug for TransportErrorCode
impl Debug for TransportErrorCode
Source§impl Display for TransportErrorCode
impl Display for TransportErrorCode
impl Eq for TransportErrorCode
Source§impl PartialEq for TransportErrorCode
impl PartialEq for TransportErrorCode
Source§impl Serialize for TransportErrorCode
impl Serialize for TransportErrorCode
impl StructuralPartialEq for TransportErrorCode
Auto Trait Implementations§
impl Freeze for TransportErrorCode
impl RefUnwindSafe for TransportErrorCode
impl Send for TransportErrorCode
impl Sync for TransportErrorCode
impl Unpin for TransportErrorCode
impl UnsafeUnpin for TransportErrorCode
impl UnwindSafe for TransportErrorCode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.