pub enum RouteSegment {
UseBy {
moniker: Moniker,
capability: UseDecl,
},
OfferBy {
moniker: Moniker,
capability: OfferDecl,
},
ExposeBy {
moniker: Moniker,
capability: ExposeDecl,
},
DeclareBy {
moniker: Moniker,
capability: CapabilityDecl,
},
}
Variants§
UseBy
The capability was used by a component instance in its manifest.
OfferBy
The capability was offered by a component instance in its manifest.
ExposeBy
The capability was exposed by a component instance in its manifest.
DeclareBy
The capability was declared by a component instance in its manifest.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteSegment
impl RefUnwindSafe for RouteSegment
impl Send for RouteSegment
impl Sync for RouteSegment
impl Unpin for RouteSegment
impl UnwindSafe for RouteSegment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more