Expand description
Safe bindings for the driver runtime dispatcher stable ABI
Structs§
- Current
Dispatcher - A placeholder for the currently active dispatcher. Use
OnDispatcher::on_dispatcher
to access it when needed. - Dispatcher
- An owned handle for a dispatcher managed by the driver runtime.
- Dispatcher
Builder - A builder for
Dispatcher
s - Dispatcher
Ref - An unowned reference to a driver runtime dispatcher such as is produced by calling
Dispatcher::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.
Traits§
- OnDispatcher
- A trait that can be used to access a lifetime-constrained dispatcher in a generic way.
- Shutdown
Observer Fn - A marker trait for a function type that can be used as a shutdown observer for
Dispatcher
. - Task
Callback - A marker trait for a callback that can be used with
Dispatcher::post_task_sync
.