pub enum TcpError {
ResetSent,
ResetReceived,
ClosedWhileConnecting,
TimedOut,
}
Variants§
ResetSent
ResetReceived
ClosedWhileConnecting
The connection was closed while it was connecting, and no RST was sent or received.
TimedOut
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpError
impl RefUnwindSafe for TcpError
impl Send for TcpError
impl Sync for TcpError
impl Unpin for TcpError
impl UnwindSafe for TcpError
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