pub enum IoStatusUpdate {
KeepAlive,
WriteBackpressure,
Stop,
PeerGone(Option<Error>),
}
Expand description
Io status
Variants§
KeepAlive
Keep-alive timeout occured
WriteBackpressure
Write backpressure is enabled
Stop
Stop io stream handling
PeerGone(Option<Error>)
Peer is disconnected
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoStatusUpdate
impl !RefUnwindSafe for IoStatusUpdate
impl Send for IoStatusUpdate
impl Sync for IoStatusUpdate
impl Unpin for IoStatusUpdate
impl !UnwindSafe for IoStatusUpdate
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