Structs§
- Bounded
Name - A
BoundedNameis aNamethat can have a max length ofNbytes. - Context
Offer - 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. - Offer
- Example:
- OneOr
Many Offer From Refs - Generates deserializer for
OneOrMany<OfferFromRef>. - OneOr
Many Offer ToRefs - Generates deserializer for
OneOrMany<OfferToRef>. - Parsed
Offer - 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
/. - 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. - Offer
From Ref - A reference in an
offer from. - Offer
ToAll Capability - Offer
ToRef - A reference in an
offer 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. - Target
Availability - A reference in an
offer to.
Functions§
- offer_
to_ all_ and_ component_ diff_ capabilities_ message - offer_
to_ all_ and_ component_ diff_ sources_ message - offer_
to_ all_ from_ context_ offer - offer_
to_ all_ from_ offer - offer_
to_ all_ would_ duplicate - Returns
Ok(true)if desugaring theoffer_to_allusingnameduplicatesspecific_offer. ReturnsOk(false)if not a duplicate. - offer_
to_ all_ would_ duplicate_ context - Returns
Ok(true)if desugaring theoffer_to_allusingnameduplicatesspecific_offer. ReturnsOk(false)if not a duplicate.
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.