pub enum TcpClientError {
IOError(Error),
ClientError(ClientError<Error>),
}
Variants§
IOError(Error)
ClientError(ClientError<Error>)
Trait Implementations§
Source§impl Debug for TcpClientError
impl Debug for TcpClientError
Source§impl Display for TcpClientError
impl Display for TcpClientError
Source§impl Error for TcpClientError
impl Error for TcpClientError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ClientError<Error>> for TcpClientError
impl From<ClientError<Error>> for TcpClientError
Source§fn from(source: ClientError<Error>) -> Self
fn from(source: ClientError<Error>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TcpClientError
impl !RefUnwindSafe for TcpClientError
impl Send for TcpClientError
impl Sync for TcpClientError
impl Unpin for TcpClientError
impl !UnwindSafe for TcpClientError
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