pub enum IoStatusUpdate {
Timeout,
WriteBackpressure,
PeerGone(Option<Error>),
}Expand description
I/O status update events.
Variants§
Timeout
The dispatcher timer has expired.
WriteBackpressure
Write backpressure is currently active.
PeerGone(Option<Error>)
The connection is no longer usable.
Reported once the connection can no longer dispatch frames, whether
because transport shutdown has begun, the peer disconnected, an error
occurred, or shutdown was started locally with
IoRef::close or
IoRef::terminate. The transport backend
may still be finishing teardown.
Carries the connection error, which may originate from the transport,
a filter, or shutdown. None means no error was recorded.
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