Crate fuchsia_component_test

source ·

Modules§

Structs§

  • A capability, which may be routed between different components with a Route.
  • The properties for a child being added to a realm
  • A reference to a child in a realm. This struct will be returned when a child is added to a realm, and may be used in subsequent calls to RealmBuilder or SubRealmBuilder to reference the child that was added.
  • A reference to a collection in a realm. This struct will be returned when a collection is added to a realm, and may be used in subsequent calls to RealmBuilder or SubRealmBuilder to reference the collection that was added.
  • A configuration capability, which may be routed between components. Created by Capability::configuration.
  • A dictionary capability, which may be routed between components. Created by Capability::dictionary.
  • A directory capability, which may be routed between components. Created by Capability::directory.
  • Contains the contents of a read-only directory that Realm Builder should provide to a realm. Used with the RealmBuilder::read_only_directory function.
  • Represents an event stream capability per RFC-0121 see https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0121_component_events
  • A controller used to influence and observe a specific execution of a component. The component will be stopped when this is dropped if it is still running from the start call that created this controller. If the component has already stopped, or even been restarted by some other action, then dropping this will do nothing.
  • The handles from the framework over which the local component should interact with other components.
  • A protocol capability, which may be routed between components. Created by Capability::protocol.
  • The RealmBuilder struct can be used to assemble and create a component realm at runtime. For more information on what can be done with this struct, please see the documentation on fuchsia.dev
  • A running instance of a created realm. When this struct is dropped the realm is destroyed, along with any components that were in the realm.
  • The source or destination of a capability route.
  • A resolver capability, which may be routed between components. Created by Capability::resolver.
  • A route of one or more capabilities from one point in the realm to one or more targets.
  • A runner capability, which may be routed between components. Created by Capability::runner.
  • RAII object that keeps a component instance alive until it’s dropped, and provides convenience functions for using the instance. Components v2 only.
  • Manages the creation of new components within a collection.
  • A service capability, which may be routed between components. Created by Capability::service.
  • A storage capability, which may be routed between components. Created by Capability::storage.

Constants§