pub enum RxReady {
Connection(ConnectionInstanceId),
PendingConnection(u64),
SendReset(ConnectionKey),
}Expand description
Indicates a connection that is read to put data on the rx queue to send to the guest. N.B. When a future returns an item, it’s not always guaranteed that a packet is ready to be sent. It could be a spurious wake from a poll, or a pending connection that’s still reading its connect request, etc.
Variants§
Connection(ConnectionInstanceId)
A connection has data or a control packet to send.
PendingConnection(u64)
A pending connection has data.
SendReset(ConnectionKey)
A RST packet should be sent for a connection that was removed or invalid.
Auto Trait Implementations§
impl Freeze for RxReady
impl RefUnwindSafe for RxReady
impl Send for RxReady
impl Sync for RxReady
impl Unpin for RxReady
impl UnsafeUnpin for RxReady
impl UnwindSafe for RxReady
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