pub struct ImapMessageCopy { /* private fields */ }Available on crate feature
imap only.Expand description
I/O-free coroutine copying a UID set across mailboxes.
Implementations§
Trait Implementations§
Source§impl ImapCoroutine for ImapMessageCopy
impl ImapCoroutine for ImapMessageCopy
type Yield = ImapYield
type Return = Result<(), ImapMessageCopyError>
Source§fn resume(
&mut self,
fragmentizer: &mut Fragmentizer,
bytes: Option<&[u8]>,
) -> ImapCoroutineState<Self::Yield, Self::Return>
fn resume( &mut self, fragmentizer: &mut Fragmentizer, bytes: 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 ImapMessageCopy
impl RefUnwindSafe for ImapMessageCopy
impl Send for ImapMessageCopy
impl Sync for ImapMessageCopy
impl Unpin for ImapMessageCopy
impl UnsafeUnpin for ImapMessageCopy
impl UnwindSafe for ImapMessageCopy
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
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.