pub enum ImapMessageAppendStreamYield {
WantsRead,
WantsWrite(Vec<u8>),
WantsStream,
}Expand description
Yield variants from the streaming APPEND coroutine.
Variants§
WantsRead
The caller reads from its stream and resumes with the bytes.
WantsWrite(Vec<u8>)
The caller writes the given bytes to its stream and resumes.
WantsStream
Stream exactly the declared message octets to the server, then resume
with None on success or Some(&[]) if the source ran short.
Trait Implementations§
Source§impl Debug for ImapMessageAppendStreamYield
impl Debug for ImapMessageAppendStreamYield
Auto Trait Implementations§
impl Freeze for ImapMessageAppendStreamYield
impl RefUnwindSafe for ImapMessageAppendStreamYield
impl Send for ImapMessageAppendStreamYield
impl Sync for ImapMessageAppendStreamYield
impl Unpin for ImapMessageAppendStreamYield
impl UnsafeUnpin for ImapMessageAppendStreamYield
impl UnwindSafe for ImapMessageAppendStreamYield
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