Structs§
- Cancel
OnDrop Token - Handle to a Pollable registered using
push_waker_and_get_token
which, when dropped, will cancel and drop the Pollable. - Cancel
Token - Handle to a Pollable registered using
push_waker_and_get_token
which may be used to cancel and drop the Pollable.
Functions§
- push_
waker - Register a
Pollable
andWaker
to be polled as part of therun
event loop. - push_
waker_ and_ get_ token - Register a
Pollable
andWaker
to be polled as part of therun
event loop and retrieve aCancelToken
to cancel the registration later, if desired. - run
- Run the specified future to completion, blocking until it yields a result.