Skip to main content

Crate fdf_env

Crate fdf_env 

Source
Expand description

Safe bindings for driver runtime environment.

Modules§

test
Helpers for writing tests using drivers and dispatchers

Structs§

Driver
An owned handle to a Driver instance that can be used to create initial dispatchers.
DriverRef
A lifetime-bound reference to a driver handle.
Environment
The driver runtime environment
ResumeRequester
A resume requester for fdf_env_register_resume_requester that can call any kind of callback.
ResumeRequesterRegistration
A registration handle returned by Driver::register_resume_requester. The user MUST call unregister to unregister the resume requester when it is no longer valid.
SuspendCompleter
A suspend completer for fdf_env_driver_suspend that can call any kind of callback.
UnownedDriver
An unowned handle to the driver that is returned through certain environment APIs like |get_driver_on_thread_koid|.

Traits§

DriverShutdownObserverFn
A marker trait for a function that can be used as a driver shutdown observer with Driver::shutdown.
ResumeRequesterFn
A marker trait for a function type that can be used as a resume requester.
StallScannerFn
A marker trait for a function type that can be used as a stall scanner.
SuspendCompleterFn
A marker trait for a function type that can be used as a suspend completer.