Expand description
Wrappers around the mechanisms of driver registration for the driver framework for implementing startup and shutdown of the driver in rust.
Modules§
- Implementation of the [
driver_register
] macro for registering driver implementations with the driver host.
Macros§
- Macro for declaring a driver’s implementation of the
Driver
trait.
Structs§
- The context arguments passed to the driver in its start arguments.
- Implements access to the incoming namespace for a driver. It provides methods for accessing incoming protocols and services by either their marker or proxy types, and can be used as a [
Directory
] with the functions in [fuchsia_component::client
]. - Holds on to a
NodeProxy
and provides simplified methods for adding child nodes. - A builder for adding a child node to an existing
Node
. - A newtype wrapper that can be used to construct
NodePropertyKey
-compatible values forcrate::NodeBuilder::add_property
- A newtype wrapper that can be used to construct
NodePropertyValue
-compatible values forcrate::NodeBuilder::add_property
- A builder for connecting to a protocol in the driver’s incoming namespace.
- A builder for connecting to an aggregated service instance in the driver’s incoming namespace. By default, it will connect to the default instance, named
default
. You can override this by callingSelf::instance
. - A builder for creating
Offer
-compatible values forcrate::NodeBuilder::add_offer
that service a zircon fidl service.
Traits§
- Entry points into a driver for starting and stopping.