pub enum GmailCoroutineState<Y, R> {
Yielded(Y),
Complete(R),
}Expand description
Progress of a coroutine after a resume: either an I/O request the caller must fulfill, or the terminal value.
Variants§
Yielded(Y)
The coroutine needs I/O before it can go further.
Complete(R)
The coroutine finished with its terminal value.
Trait Implementations§
Auto Trait Implementations§
impl<Y, R> Freeze for GmailCoroutineState<Y, R>
impl<Y, R> RefUnwindSafe for GmailCoroutineState<Y, R>where
Y: RefUnwindSafe,
R: RefUnwindSafe,
impl<Y, R> Send for GmailCoroutineState<Y, R>
impl<Y, R> Sync for GmailCoroutineState<Y, R>
impl<Y, R> Unpin for GmailCoroutineState<Y, R>
impl<Y, R> UnsafeUnpin for GmailCoroutineState<Y, R>where
Y: UnsafeUnpin,
R: UnsafeUnpin,
impl<Y, R> UnwindSafe for GmailCoroutineState<Y, R>where
Y: UnwindSafe,
R: UnwindSafe,
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