pub enum MsgraphYield {
WantsRead,
WantsWrite(Vec<u8>),
}Expand description
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.
Variants§
WantsRead
The caller reads from its stream and resumes with the bytes.
WantsWrite(Vec<u8>)
The caller writes the given bytes to its stream and resumes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsgraphYield
impl RefUnwindSafe for MsgraphYield
impl Send for MsgraphYield
impl Sync for MsgraphYield
impl Unpin for MsgraphYield
impl UnsafeUnpin for MsgraphYield
impl UnwindSafe for MsgraphYield
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