Crate fidl_next_fuchsia_driver_framework

Source

Modules§

compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
composite_node_manager
device_address
driver
node
node_controller
node_property_key
node_property_value
offer

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.
CompositeNodeSpec
Struct that represents a composite node specification.
CompositeParent
A parent to a composite that is defined by a composite node spec.
DevfsAddArgs
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.
DriverStartArgs
Arguments for starting a driver.
DriverStartRequest
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.
NodeAddArgs
Arguments for adding a node.
NodeAddChildRequest
NodeController
The type corresponding to the NodeController protocol. Protocol through which a parent node controls one of its children.
NodeControllerRequestBindRequest
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.
WireBindRule
The wire type corresponding to BindRule.
WireBindRule2
The wire type corresponding to BindRule2.
WireBusInfo
The wire type corresponding to BusInfo.
WireBusType
The wire type corresponding to BusType.
WireCompositeDriverInfo
The wire type corresponding to CompositeDriverInfo.
WireCompositeDriverMatch
The wire type corresponding to CompositeDriverMatch.
WireCompositeInfo
The wire type corresponding to CompositeInfo.
WireCompositeNodeSpec
The wire type corresponding to CompositeNodeSpec.
WireCompositeNodeSpecError
The wire type corresponding to CompositeNodeSpecError.
WireCompositeParent
The wire type corresponding to CompositeParent.
WireCondition
The wire type corresponding to Condition.
WireDevfsAddArgs
The wire type corresponding to DevfsAddArgs.
WireDeviceAddress
The wire type corresponding to DeviceAddress.
WireDeviceAddressStability
The wire type corresponding to DeviceAddressStability.
WireDeviceCategory
The wire type corresponding to DeviceCategory.
WireDriverInfo
The wire type corresponding to DriverInfo.
WireDriverPackageType
The wire type corresponding to DriverPackageType.
WireDriverStartArgs
The wire type corresponding to DriverStartArgs.
WireDriverStartRequest
The wire type corresponding to DriverStartRequest.
WireNodeAddArgs
The wire type corresponding to NodeAddArgs.
WireNodeAddChildRequest
The wire type corresponding to NodeAddChildRequest.
WireNodeControllerRequestBindRequest
The wire type corresponding to NodeControllerRequestBindRequest.
WireNodeError
The wire type corresponding to NodeError.
WireNodeProperty
The wire type corresponding to NodeProperty.
WireNodeProperty2
The wire type corresponding to NodeProperty2.
WireNodePropertyEntry
The wire type corresponding to NodePropertyEntry.
WireNodePropertyEntry2
The wire type corresponding to NodePropertyEntry2.
WireNodePropertyKey
The wire type corresponding to NodePropertyKey.
WireNodePropertyValue
The wire type corresponding to NodePropertyValue.
WireNodeSymbol
The wire type corresponding to NodeSymbol.
WireOffer
The wire type corresponding to Offer.
WireOptionalDeviceAddress
WireOptionalNodePropertyKey
WireOptionalNodePropertyValue
WireOptionalOffer
WireParentSpec
The wire type corresponding to ParentSpec.
WireParentSpec2
The wire type corresponding to ParentSpec2.

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.
CompositeNodeManagerClientSender
A helper trait for the CompositeNodeManager client sender.
CompositeNodeManagerServerHandler
A server handler for the CompositeNodeManager protocol.
CompositeNodeManagerServerSender
A helper trait for the CompositeNodeManager server sender.
DriverClientHandler
A client handler for the Driver protocol.
DriverClientSender
A helper trait for the Driver client sender.
DriverServerHandler
A server handler for the Driver protocol.
DriverServerSender
A helper trait for the Driver server sender.
NodeClientHandler
A client handler for the Node protocol.
NodeClientSender
A helper trait for the Node client sender.
NodeControllerClientHandler
A client handler for the NodeController protocol.
NodeControllerClientSender
A helper trait for the NodeController client sender.
NodeControllerServerHandler
A server handler for the NodeController protocol.
NodeControllerServerSender
A helper trait for the NodeController server sender.
NodeServerHandler
A server handler for the Node protocol.
NodeServerSender
A helper trait for the Node server sender.

Type Aliases§

CompositeNodeManagerAddSpecResponse
DriverStartResponse
NodeAddChildResponse
NodeControllerRequestBindResponse
NodeName
NodeOffersVector
NodeProperties
NodePropertyDictionary
NodePropertyDictionary2
NodePropertyKeyString
NodePropertyKeyUint
NodePropertyValueBool
NodePropertyValueEnum
NodePropertyValueString
NodePropertyValueUint
NodePropertyVector
WireCompositeNodeManagerAddSpecResponse
The wire type corresponding to CompositeNodeManagerAddSpecResponse.
WireDriverStartResponse
The wire type corresponding to DriverStartResponse.
WireNodeAddChildResponse
The wire type corresponding to NodeAddChildResponse.
WireNodeControllerRequestBindResponse
The wire type corresponding to NodeControllerRequestBindResponse.
WireNodeName
The wire type corresponding to NodeName.
WireNodeOffersVector
The wire type corresponding to NodeOffersVector.
WireNodeProperties
The wire type corresponding to NodeProperties.
WireNodePropertyDictionary
The wire type corresponding to NodePropertyDictionary.
WireNodePropertyDictionary2
The wire type corresponding to NodePropertyDictionary2.
WireNodePropertyKeyString
The wire type corresponding to NodePropertyKeyString.
WireNodePropertyKeyUint
The wire type corresponding to NodePropertyKeyUint.
WireNodePropertyValueBool
The wire type corresponding to NodePropertyValueBool.
WireNodePropertyValueEnum
The wire type corresponding to NodePropertyValueEnum.
WireNodePropertyValueString
The wire type corresponding to NodePropertyValueString.
WireNodePropertyValueUint
The wire type corresponding to NodePropertyValueUint.
WireNodePropertyVector
The wire type corresponding to NodePropertyVector.