Skip to main content

Module coroutine

Module coroutine 

Source
Expand description

Coroutine contract: the MsgraphCoroutine trait, its MsgraphYield / MsgraphCoroutineState, and the msgraph_try! macro (the coroutine equivalent of ?).

Enums§

MsgraphCoroutineState
State returned by every MsgraphCoroutine::resume call: either an I/O request to fulfil, or the coroutine’s final value.
MsgraphYield
I/O request yielded by a Microsoft Graph coroutine: a Graph call is I/O-only, so reading and writing bytes are the only requests.

Traits§

MsgraphCoroutine
An I/O-free Microsoft Graph coroutine, resumed with the bytes read by the caller (or None when there is nothing to feed back).