Crate fidl_next_fuchsia_driver_framework

Crate fidl_next_fuchsia_driver_framework 

Source

Re-exports§

pub use self::natural::*;

Modules§

compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
composite_node_manager
driver
generic
natural
node
node_controller
wire
wire_optional

Structs§

BindRule
Represents a bind rule in a parent specification.
BindRule2
Represents a bind rule in a parent specification.
BusInfo
CompositeDriverInfo
Information for a composite driver.
CompositeDriverMatch
Information for a composite driver that has matched with a composite.
CompositeInfo
Information for a composite that is defined by a composite node spec.
CompositeNodeManager
The type corresponding to the CompositeNodeManager protocol. Protocol through which board drivers can create composite node specs.
CompositeNodeManagerAddSpecResponse
CompositeNodeSpec
Struct that represents a composite node specification.
CompositeParent
A parent to a composite that is defined by a composite node spec.
DeviceCategory
Device categories as provided in the driver’s component manifest.
Driver
The type corresponding to the Driver protocol. This protocol is used by the Driver Framework’s Driver Host to communicate various messages and lifecycle hooks to the driver. The connection for this protocol is established through the |DriverRegistration| defined in the driver_symbols library.
DriverInfo
General information for a driver, used with both composite and normal drivers.
DriverStartResponse
Node
The type corresponding to the Node protocol. Protocol through which a driver manages a node that it is bound to. Drivers should maintain their client connection to the node. Dropping the client connection while the driver is running will cause the driver framework to remove the driver and node from the topology. If the driver has set host_restart_on_crash to “true” in their component manifest, dropping the connection will initiate a restart of the driver host and driver.
NodeAddChildResponse
NodeController
The type corresponding to the NodeController protocol. Protocol through which a parent node controls one of its children.
NodeControllerRequestBindRequest
NodeControllerRequestBindResponse
NodeProperty
Definition of a property for a node. A property is commonly used to match a node to a driver for driver binding.
NodeProperty2
NodePropertyEntry
Contains the node properties that belong to a node.
NodePropertyEntry2
Contains the node properties that belong to a node.
NodeSymbol
Definition of a symbol provided by a driver for a node. A symbol is local to a driver host.
ParentSpec
Specification for a node that parents the composite node created from the composite node specification.
ParentSpec2
Specification for a node that parents the composite node created from the composite node specification.

Enums§

BusType
CompositeNodeSpecError
Error codes for the CompositeNodeManager protocol.
Condition
Represents a bind rule condition.
DeviceAddress
DeviceAddressStability
DriverPackageType
The type of Fuchsia package that a driver component is inside of. More details about the various package categories are available at: https://fuchsia.dev/fuchsia-src/concepts/packages/package#types_of_packages
NodeError
Error codes for the Node protocol.
NodePropertyKey
NodePropertyValue
Offer

Constants§

MAX_DEVICE_ADDRESS_ARRAY_LEN
MAX_DEVICE_ADDRESS_STR_LEN
MAX_MODULE_NAME_LENGTH
MAX_NAMESPACE_COUNT
MAX_NODE_NAME_LENGTH
MAX_OFFER_COUNT
MAX_PROPERTY_COUNT
MAX_RESOURCE_NAME_LENGTH
MAX_SYMBOL_COUNT
MAX_SYMBOL_NAME_LENGTH

Traits§

CompositeNodeManagerClientHandler
A client handler for the CompositeNodeManager protocol.
CompositeNodeManagerServerHandler
A server handler for the CompositeNodeManager protocol.
DriverClientHandler
A client handler for the Driver protocol.
DriverServerHandler
A server handler for the Driver protocol.
NodeClientHandler
A client handler for the Node protocol.
NodeControllerClientHandler
A client handler for the NodeController protocol.
NodeControllerServerHandler
A server handler for the NodeController protocol.
NodeServerHandler
A server handler for the Node protocol.

Type Aliases§

NodeName
NodeOffersVector
NodeProperties
NodePropertyDictionary
NodePropertyDictionary2
NodePropertyKeyString
NodePropertyKeyUint
NodePropertyValueBool
NodePropertyValueEnum
NodePropertyValueString
NodePropertyValueUint
NodePropertyVector