Module shutdown_observer

Module shutdown_observer 

Source
Expand description

Utility struct for constructing a shutdown observer compatible with rust callbacks.

Structs§

AfterDeadline
A future that represents a deferral to a future time.
AsyncDispatcherRef
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.
ShutdownObserver
A shutdown observer for fdf_dispatcher_create that can call any kind of callback instead of just a C-compatible function when a dispatcher is shutdown.

Traits§

AsyncDispatcher
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.

Type Aliases§

fdf_dispatcher_t