pub enum Io {
NeedMoreInput,
Output(Vec<u8>),
}
Expand description
User of imap-next
must perform an IO operation to progress the state.
Variants§
NeedMoreInput
More bytes must be read and passed to State::enqueue_input
.
Output(Vec<u8>)
Given bytes must be written.
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