pub struct ImapMailboxCreate { /* private fields */ }Expand description
I/O-free IMAP CREATE coroutine.
Implementations§
Trait Implementations§
Source§impl ImapCoroutine for ImapMailboxCreate
impl ImapCoroutine for ImapMailboxCreate
type Yield = ImapYield
type Return = Result<(), ImapMailboxCreateError>
Source§fn resume(
&mut self,
fragmentizer: &mut Fragmentizer,
arg: Option<&[u8]>,
) -> ImapCoroutineState<Self::Yield, Self::Return>
fn resume( &mut self, fragmentizer: &mut Fragmentizer, arg: Option<&[u8]>, ) -> ImapCoroutineState<Self::Yield, Self::Return>
Pass
None initially or after a WantsWrite, Some(bytes)
after a WantsRead, Some(&[]) on EOF.Auto Trait Implementations§
impl Freeze for ImapMailboxCreate
impl RefUnwindSafe for ImapMailboxCreate
impl Send for ImapMailboxCreate
impl Sync for ImapMailboxCreate
impl Unpin for ImapMailboxCreate
impl UnsafeUnpin for ImapMailboxCreate
impl UnwindSafe for ImapMailboxCreate
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