Skip to main content

Module dispatcher

Module dispatcher 

Source
Expand description

Safe bindings for the driver runtime dispatcher stable ABI

Structs§

AutoReleaseDispatcher
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 a DispatcherRef<'static> created by Dispatcher::release:
CurrentDispatcher
A placeholder for the currently active dispatcher.
Dispatcher
An owned handle for a dispatcher managed by the driver runtime.
DispatcherBuilder
A builder for Dispatchers
DriverDispatcherRef
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.
WakeVectorRegistration
A registration handle for a wake vector event, returned by DriverDispatcherRef::register_wake_vector and OnDriverDispatcher::register_wake_vector. Caller must hold on to this as long as they want this wake vector to be active.

Traits§

OnDriverDispatcher
Makes available additional functionality available on driver dispatchers on top of what’s available on OnDispatcher.
ShutdownObserverFn
A marker trait for a function type that can be used as a shutdown observer for Dispatcher.

Type Aliases§

fdf_dispatcher_t
Dispatcher for performing asynchronous operations.