pub enum Io {
Read,
}
Expand description
The TCP I/O request enum, emitted by flows and processed by handlers.
This enum represents all the possible I/O requests that a TCP flow can emit. I/O handlers should be able to handle all variants.
Variants§
Read
I/O request that should be emitted by a flow needing bytes to be read in order to continue its progression.
When receiving this variant, I/O handlers need to read a chunk of bytes using the state buffer, then to tell the state how many bytes have been read for the current chunk.
Trait Implementations§
impl Eq for Io
impl StructuralPartialEq for Io
Auto Trait Implementations§
impl Freeze for Io
impl RefUnwindSafe for Io
impl Send for Io
impl Sync for Io
impl Unpin for Io
impl UnwindSafe for Io
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