Macros

Pattern that matches an unknown EventPayload member.

Structs

A Stream of incoming requests for Binder
Payload for CapabilityRequested events
A Stream of incoming requests for ChildIterator
Payload for DebugStarted events.
Payload for Destroyed events.
Payload for DirectoryReady events
Payload for Discovered events.
Contains all information about a single event
A head providing metadata about a target component instance.
A Stream of incoming requests for EventStream
Payload for Purged events.
A Stream of incoming requests for Realm
Payload for Resolved events.
Payload for Started events.
Payload for Stopped events.
Payload for Unresolved events.

Enums

A framework-provided protocol that allows components that use it to bind to the component that exposes it. The act of connecting to this protocol will trigger the bind. Thus, this protocol contains no methods. For more details on binding, see https://fuchsia.dev/fuchsia-src/concepts/components/v2/lifecycle#binding.
A protocol to iterate over the list of children in a realm.
Standard error codes for component framework protocols.
Encapsulates additional data/protocols for some event types.
Listener for events on the component hierarchy.
These EventTypes are used for the EventStream protocol. They are FIDL versions of the EventType enum in hooks.rs and have the same meaning.
A protocol used by a component instance to manage its own realm, such as for binding to its children.

Constants

The maximum string length of a capability ID. This value is currently set arbitrarily.
The maximum number of children that the a call ChildIterator.Next can return. Note, this is not a limit on the number of children that can be added to a component. This is merely a limit for a single invocation of the Next method.
The maximum number of dynamic offers that can target a created component.
The maximum string length of an error description.
The maximum number of handles that can be passed to a created component.
The maximum number of events that a receiver can listen to.
The maximum number of requests per event subscription.

Traits

Type Definitions