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