Expand description
Coroutine contract shared by every Gmail exchange.
Defines the GmailCoroutine trait, its GmailYield and
GmailCoroutineState companions, and the gmail_try! macro (the
coroutine equivalent of ?).
Enums§
- Gmail
Coroutine State - Progress of a coroutine after a resume: either an I/O request the caller must fulfill, or the terminal value.
- Gmail
Yield - The I/O request a coroutine yields: read bytes from the stream, or write the given bytes to it.
Traits§
- Gmail
Coroutine - A resumable, I/O-free Gmail operation.