pub enum Ref {
Parent(ParentRef),
Self_(SelfRef),
Child(ChildRef),
Collection(CollectionRef),
Framework(FrameworkRef),
Capability(CapabilityRef),
Debug(DebugRef),
VoidType(VoidRef),
Environment(EnvironmentRef),
UnknownOrdinal_(u64),
}
Expand description
A reference to a capability source or destination relative to this component.
Variants§
Parent(ParentRef)
Self_(SelfRef)
Child(ChildRef)
Collection(CollectionRef)
Framework(FrameworkRef)
Capability(CapabilityRef)
Debug(DebugRef)
VoidType(VoidRef)
Environment(EnvironmentRef)
UnknownOrdinal_(u64)
Trait Implementations§
Source§impl EncodableOption for Box<Ref>
impl EncodableOption for Box<Ref>
Source§type EncodedOption = WireOptionalRef
type EncodedOption = WireOptionalRef
The wire type for the optional value.
Source§impl<___E> EncodeOption<___E> for Box<Ref>
impl<___E> EncodeOption<___E> for Box<Ref>
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Auto Trait Implementations§
impl Freeze for Ref
impl RefUnwindSafe for Ref
impl Send for Ref
impl Sync for Ref
impl Unpin for Ref
impl UnwindSafe for Ref
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