pub struct PeerGone(/* private fields */);Expand description
Notification that the peer closed the connection.
A clean peer close in the middle of a request head or body carries an
io::ErrorKind::UnexpectedEof error, so a truncated request is not
reported as a clean disconnect.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PeerGone
impl !UnwindSafe for PeerGone
impl Freeze for PeerGone
impl Send for PeerGone
impl Sync for PeerGone
impl Unpin for PeerGone
impl UnsafeUnpin for PeerGone
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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