pub enum Use {
Service(UseService),
Protocol(UseProtocol),
Directory(UseDirectory),
Storage(UseStorage),
EventStream(UseEventStream),
Runner(UseRunner),
Config(UseConfiguration),
UnknownOrdinal_(u64),
}
Expand description
Declares a capability used by a component, which was offered to it.
Variants§
Service(UseService)
Protocol(UseProtocol)
Directory(UseDirectory)
Storage(UseStorage)
EventStream(UseEventStream)
Runner(UseRunner)
Config(UseConfiguration)
UnknownOrdinal_(u64)
Trait Implementations§
Source§impl EncodableOption for Box<Use>
impl EncodableOption for Box<Use>
Source§type EncodedOption = WireOptionalUse
type EncodedOption = WireOptionalUse
The wire type for the optional value.
Source§impl<___E> EncodeOption<___E> for Box<Use>
impl<___E> EncodeOption<___E> for Box<Use>
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 Use
impl RefUnwindSafe for Use
impl Send for Use
impl Sync for Use
impl Unpin for Use
impl UnwindSafe for Use
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