Expand description
Utility struct for constructing a shutdown observer compatible with rust callbacks.
Structs§
- After
Deadline - A future that represents a deferral to a future time.
- Async
Dispatcher Ref - An unowned reference to a driver runtime dispatcher such as is produced by calling
[
AsyncDispatcher::release]. When this object goes out of scope it won’t shut down the dispatcher, leaving that up to the driver runtime or another owner. - Shutdown
Observer - A shutdown observer for
fdf_dispatcher_createthat can call any kind of callback instead of just a C-compatible function when a dispatcher is shutdown.
Traits§
- Async
Dispatcher - A trait for things that can be represented as an
AsyncDispatcherRef. - OnDispatcher
- A trait that can be used to access a lifetime-constrained dispatcher in a generic way.