pub enum IoStatusUpdate {
KeepAlive,
WriteBackpressure,
PeerGone(Option<Error>),
}Expand description
I/O status update events.
Variants§
KeepAlive
Keep-alive timeout has occurred.
WriteBackpressure
Write backpressure is currently active.
PeerGone(Option<Error>)
Peer has disconnected.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IoStatusUpdate
impl !UnwindSafe for IoStatusUpdate
impl Freeze for IoStatusUpdate
impl Send for IoStatusUpdate
impl Sync for IoStatusUpdate
impl Unpin for IoStatusUpdate
impl UnsafeUnpin 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