pub enum AdapterError {
UnableToInitialize,
NoAvailableSockets,
Timeout,
UnableToOpen,
UnableToClose,
WriteError,
ReadError,
InvalidSocket,
}Variants§
UnableToInitialize
NoAvailableSockets
Timeout
UnableToOpen
UnableToClose
WriteError
ReadError
InvalidSocket
Trait Implementations§
Source§impl Debug for AdapterError
impl Debug for AdapterError
Source§impl From<AdapterError> for TcpError
impl From<AdapterError> for TcpError
Source§fn from(error: AdapterError) -> Self
fn from(error: AdapterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdapterError
impl RefUnwindSafe for AdapterError
impl Send for AdapterError
impl Sync for AdapterError
impl Unpin for AdapterError
impl UnwindSafe for AdapterError
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