Re-exports§
pub use self::natural::*;
Modules§
- binder
- child_
iterator - compat
- Compatibility shims which mimic some API surfaces of the current Rust bindings.
- controller
- event_
stream - execution_
controller - generic
- introspector
- namespace
- natural
- realm
- storage_
admin - storage_
iterator - wire
- wire_
optional
Structs§
- Binder
- The type corresponding to the Binder protocol. 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.
- Child
Iterator - The type corresponding to the ChildIterator protocol. A protocol to iterate over the list of children in a realm.
- Child
Iterator Next Response - Controller
- The type corresponding to the Controller protocol. A protocol used to operate on a component.
- Controller
Destroy Response - Controller
Start Response - Destroyed
Payload - Payload for Destroyed events.
- Discovered
Payload - Payload for Discovered events.
- Event
Header - A head providing metadata about a target component instance.
- Event
Stream - The type corresponding to the EventStream protocol. Listener for events on the component hierarchy. Can’t be used outside of the platform.
- Execution
Controller - The type corresponding to the ExecutionController protocol.
- Execution
Controller OnStop Request - Introspector
- The type corresponding to the Introspector protocol. A protocol used by a component instance to obtain information about components in its own realm.
- Introspector
GetMoniker Response - Namespace
- The type corresponding to the Namespace protocol. Protocol for performing namespace operations.
- Purged
Payload - Payload for Purged events.
- Realm
- The type corresponding to the Realm protocol. A protocol used by a component instance to manage its own realm, such as for binding to its children.
- Realm
Create Child Response - Realm
Destroy Child Request - Realm
Destroy Child Response - Realm
List Children Response - Realm
Open Controller Response - Realm
Open Exposed DirResponse - Resolved
Payload - Payload for Resolved events.
- Started
Payload - Payload for Started events.
- Stopped
Payload - Payload for Stopped events.
- Storage
Admin - The type corresponding to the StorageAdmin protocol.
- Storage
Admin Delete AllStorage Contents Response - Storage
Admin Delete Component Storage Request - Storage
Admin Delete Component Storage Response - Storage
Admin List Storage InRealm Response - Storage
Admin Open Component Storage ById Response - Storage
Admin Open Storage Response - Storage
Iterator - The type corresponding to the StorageIterator protocol. An iterator protocol for returning a set of components using a storage capability. See |StorageAdmin.ListStorageInRealm| for more information.
- Storage
Iterator Next Response - Storage
Status - Metadata about status of the storage
- Unresolved
Payload - Payload for Unresolved events.
Enums§
- Deletion
Error - Error
- Standard error codes for component framework protocols.
- Event
Type - These EventTypes are used for the EventStream protocol. They are FIDL versions of the EventType enum in hooks.rs and have the same meaning.
- Namespace
Error - Error returned from methods in [
Namespace]. - Status
Error
Constants§
- MAX_
CAPABILITY_ ID_ LENGTH - The maximum string length of a capability ID. This value is currently set arbitrarily.
- MAX_
CHILD_ COUNT - The maximum number of children that the a call
ChildIterator.Nextcan 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 theNextmethod. - MAX_
CHILD_ NAME_ LENGTH - MAX_
DYNAMIC_ OFFER_ COUNT - The maximum number of dynamic offers that can target a created component.
- MAX_
ERROR_ DESCRIPTION_ LENGTH - The maximum string length of an error description.
- MAX_
HANDLE_ COUNT - The maximum number of handles that can be passed to a created component.
- MAX_
MONIKER_ LENGTH - MAX_
NAMESPACE_ COUNT - MAX_
NAME_ LENGTH - MAX_
NUM_ EVENTS_ RECEIVED - The maximum number of events that a receiver can listen to.
- MAX_
PATH_ LENGTH - MAX_
STORAGE_ ID_ LENGTH - The maximum length of a storage instance ID. A storage instance ID is a 256-bit UUID, which when encoded in hex notation is 64 characters long.
- MAX_
SUBSCRIPTION_ REQUESTS - The maximum number of requests per event subscription.
- MAX_
URL_ SCHEME_ LENGTH
Traits§
- Binder
Client Handler - A client handler for the Binder protocol.
- Binder
Server Handler - A server handler for the Binder protocol.
- Child
Iterator Client Handler - A client handler for the ChildIterator protocol.
- Child
Iterator Server Handler - A server handler for the ChildIterator protocol.
- Controller
Client Handler - A client handler for the Controller protocol.
- Controller
Server Handler - A server handler for the Controller protocol.
- Event
Stream Client Handler - A client handler for the EventStream protocol.
- Event
Stream Server Handler - A server handler for the EventStream protocol.
- Execution
Controller Client Handler - A client handler for the ExecutionController protocol.
- Execution
Controller Server Handler - A server handler for the ExecutionController protocol.
- Introspector
Client Handler - A client handler for the Introspector protocol.
- Introspector
Server Handler - A server handler for the Introspector protocol.
- Namespace
Client Handler - A client handler for the Namespace protocol.
- Namespace
Server Handler - A server handler for the Namespace protocol.
- Realm
Client Handler - A client handler for the Realm protocol.
- Realm
Server Handler - A server handler for the Realm protocol.
- Storage
Admin Client Handler - A client handler for the StorageAdmin protocol.
- Storage
Admin Server Handler - A server handler for the StorageAdmin protocol.
- Storage
Iterator Client Handler - A client handler for the StorageIterator protocol.
- Storage
Iterator Server Handler - A server handler for the StorageIterator protocol.