pub enum TransportErrorKind {
Connect,
Send,
Receive,
Close,
Other,
}Expand description
Operation in which a transport failure occurred.
Variants§
Connect
Establishing the connection failed.
Send
Sending a message failed.
Receive
Receiving a message failed.
Close
Closing the connection failed.
Other
A transport failure without a more specific operation.
Trait Implementations§
Source§impl Clone for TransportErrorKind
impl Clone for TransportErrorKind
Source§fn clone(&self) -> TransportErrorKind
fn clone(&self) -> TransportErrorKind
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 TransportErrorKind
impl Debug for TransportErrorKind
Source§impl Display for TransportErrorKind
impl Display for TransportErrorKind
Source§impl PartialEq for TransportErrorKind
impl PartialEq for TransportErrorKind
Source§fn eq(&self, other: &TransportErrorKind) -> bool
fn eq(&self, other: &TransportErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TransportErrorKind
impl Eq for TransportErrorKind
impl StructuralPartialEq for TransportErrorKind
Auto Trait Implementations§
impl Freeze for TransportErrorKind
impl RefUnwindSafe for TransportErrorKind
impl Send for TransportErrorKind
impl Sync for TransportErrorKind
impl Unpin for TransportErrorKind
impl UnsafeUnpin for TransportErrorKind
impl UnwindSafe for TransportErrorKind
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