Module environment

Module environment 

Source

Structs§

BoundedName
A BoundedName is a Name that can have a max length of N bytes.
ContextDebugRegistration
ContextEnvironment
ContextResolverRegistration
ContextRunnerRegistration
DebugRegistration
Environment
Example:
HandleType
We can’t link the fuchsia-runtime crate because it’s target side only, but we don’t really need to – its HandleType is pretty much just a thin wrapper over u8.
ParsedDebugRegistration
ParsedEnvironment
ParsedResolverRegistration
ParsedRunnerRegistration
Path
A path type used throughout Component Framework, along with its variants NamespacePath and RelativePath. Examples of use:
RelativePath
Same as Path except the path does not begin with /.
ResolverRegistration
RunnerRegistration
StopTimeoutMs
The stop timeout configured in an environment.
Url
A component URL. The URL is validated, but represented as a string to avoid normalization and retain the original representation.

Enums§

Availability
Capability availability. See Availability.
DeliveryType
Specifies when the framework will open the protocol from the provider component’s outgoing directory when someone requests the capability. See DeliveryType.
DependencyType
Offered dependency type. See DependencyType.
EnvironmentExtends
EnvironmentRef
A reference in an environment.
OnTerminate
A component instance’s recovery policy. See OnTerminate.
ParseError
The error representing a failure to parse a type from string.
RegistrationRef
A reference in an environment registration.
StartupMode
A component instance’s startup mode. See StartupMode.
StorageId

Type Aliases§

BorrowedName
Unowned variant of Name. Name for more details.
Name
A name that can refer to a component, collection, or other entity in the Component Manifest. Its length is bounded to MAX_NAME_LENGTH.