pub enum TransportError {
ConnectionFailed(String),
SendFailed(String),
ReceiveFailed(String),
NotConnected,
InvalidConfig(String),
}Expand description
Transport error types
Variants§
ConnectionFailed(String)
SendFailed(String)
ReceiveFailed(String)
NotConnected
InvalidConfig(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransportError
impl RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl UnsafeUnpin for TransportError
impl UnwindSafe for TransportError
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