Structs§
- Bounded
Name - A
BoundedNameis aNamethat can have a max length ofNbytes. - Expose
- Example:
- Handle
Type - 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. - OneOr
Many Expose From Refs - Generates deserializer for
OneOrMany<ExposeFromRef>. - Path
- A path type used throughout Component Framework, along with its variants NamespacePath and RelativePath. Examples of use:
- Relative
Path - Same as Path except the path does not begin with
/. - Spanned
Expose - 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. - Dependency
Type - Offered dependency type. See
DependencyType. - Expose
From Ref - A reference in an
expose from. - Expose
ToRef - A reference in an
expose to. - OnTerminate
- A component instance’s recovery policy. See
OnTerminate. - Parse
Error - The error representing a failure to parse a type from string.
- Startup
Mode - A component instance’s startup mode. See
StartupMode.
Type Aliases§
- Borrowed
Name - Unowned variant of
Name.Namefor 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.