Expand description
Safe bindings for the driver runtime dispatcher stable ABI
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. - Auto
Release Dispatcher - An owned reference to a driver runtime dispatcher that auto-releases when dropped. This gives
you the best of both worlds of having an
Arc<Dispatcher>and aDispatcherRef<'static>created byDispatcher::release: - Current
Dispatcher - A placeholder for the currently active dispatcher. Use
OnDispatcher::on_dispatcherto access it when needed. - Dispatcher
- An owned handle for a dispatcher managed by the driver runtime.
- Dispatcher
Builder - A builder for
Dispatchers - 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. - Weak
Dispatcher - An unowned but reference counted reference to a dispatcher. This would usually come from
an
AutoReleaseDispatcheror from an existingArcorWeakreference to a dispatcher.
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.
- Shutdown
Observer Fn - A marker trait for a function type that can be used as a shutdown observer for
Dispatcher.