Skip to main content

Crate fidl_fuchsia_driver_framework_common

Crate fidl_fuchsia_driver_framework_common 

Source

Modules§

composite_node_manager_ordinals
driver_ordinals
health_ordinals
node_controller_ordinals
node_manager_ordinals
node_ordinals
resource_controller_ordinals

Macros§

BusTypeUnknown
Pattern that matches an unknown BusType member.
CompositeNodeSpecErrorUnknown
Pattern that matches an unknown CompositeNodeSpecError member.
DeviceAddressStabilityUnknown
Pattern that matches an unknown DeviceAddressStability member.
DeviceAddressUnknown
Pattern that matches an unknown DeviceAddress member.
DriverPackageTypeUnknown
Pattern that matches an unknown DriverPackageType member.
HealthAlertUnknown
Pattern that matches an unknown HealthAlert member.
HealthCheckErrorUnknown
Pattern that matches an unknown HealthCheckError member.
HealthCheckRequestUnknown
Pattern that matches an unknown HealthCheckRequest member.
HealthDiagnosticValueUnknown
Pattern that matches an unknown HealthDiagnosticValue member.
HealthStatusUnknown
Pattern that matches an unknown HealthStatus member.
NodeErrorUnknown
Pattern that matches an unknown NodeError member.
NodePropertyValueUnknown
Pattern that matches an unknown NodePropertyValue member.
OfferUnknown
Pattern that matches an unknown Offer member.

Structs§

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.
CompositeNodeSpec
Struct that represents a composite node specification.
CompositeParent
A parent to a composite that is defined by a composite node spec.
Dependency
Represents a dependency that a node has on a resource. The dependency is resolved by matching a resource against the selector’s constraints.
DeviceCategory
Device categories as provided in the driver’s component manifest.
DriverInfo
General information for a driver, used with both composite and normal drivers.
HealthCheckResponse
Response returned by a driver health check.
HealthCondition
One condition detected by a driver health check.
HealthDiagnosticItem
Key-value diagnostic property captured during a driver health check.
HealthHealthCheckRequest
HealthOnHealthAlertRequest
Node2
Represents a node added to the driver topology. The node is created after all of its dependencies are matched to a resource.
NodeControllerRequestBindRequest
NodeProperty2
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.
ParentSpec2
Specification for a node that parents the composite node created from the composite node specification.
ResourceProperty
Selector
Selector used to match resources as a dependency for nodes.

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
HealthAlert
Payload of a proactive health alert emitted by a driver via OnHealthAlert. “Upstream” is what the driver depends on (parents: buses, clocks, power domains, composite parents). “Downstream” is what depends on the driver (children / consumers).
HealthCheckError
Error codes returned when a health check cannot be completed.
HealthCheckRequest
Specifies the depth and latency budget of a driver health check.
HealthDiagnosticValue
Diagnostic value returned in a HealthCheckResponse.
HealthStatus
Operational health status reported for a driver or condition.
NodeError
Error codes for the Node protocol.
NodePropertyValue
Offer

Constants§

MAX_DEVICE_ADDRESS_ARRAY_LEN
MAX_DEVICE_ADDRESS_STR_LEN
MAX_DRIVER_HOST_LENGTH
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

Type Aliases§

NodeName
NodeOffersVector
NodeProperties
NodePropertyDictionary2
NodePropertyKeyString
NodePropertyKeyUint
NodePropertyValueBool
NodePropertyValueEnum
NodePropertyValueString
NodePropertyValueUint
ResourceName
ResourceProperties
ResourcePropertyValue
ResourcePropertyValueBool
ResourcePropertyValueString
ResourcePropertyValueUint