Enum cm_rust::CapabilityDecl
source · pub enum CapabilityDecl {
Service(ServiceDecl),
Protocol(ProtocolDecl),
Directory(DirectoryDecl),
Storage(StorageDecl),
Runner(RunnerDecl),
Resolver(ResolverDecl),
EventStream(EventStreamDecl),
Dictionary(DictionaryDecl),
Config(ConfigurationDecl),
}
Variants§
Service(ServiceDecl)
Protocol(ProtocolDecl)
Directory(DirectoryDecl)
Storage(StorageDecl)
Runner(RunnerDecl)
Resolver(ResolverDecl)
EventStream(EventStreamDecl)
Dictionary(DictionaryDecl)
Config(ConfigurationDecl)
Implementations§
Trait Implementations§
source§impl Clone for CapabilityDecl
impl Clone for CapabilityDecl
source§fn clone(&self) -> CapabilityDecl
fn clone(&self) -> CapabilityDecl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CapabilityDecl
impl Debug for CapabilityDecl
source§impl FidlIntoNative<CapabilityDecl> for Capability
impl FidlIntoNative<CapabilityDecl> for Capability
fn fidl_into_native(self) -> CapabilityDecl
source§impl From<&CapabilityDecl> for CapabilityTypeName
impl From<&CapabilityDecl> for CapabilityTypeName
source§fn from(capability: &CapabilityDecl) -> Self
fn from(capability: &CapabilityDecl) -> Self
Converts to this type from the input type.
source§impl From<ConfigurationDecl> for CapabilityDecl
impl From<ConfigurationDecl> for CapabilityDecl
source§fn from(f: ConfigurationDecl) -> Self
fn from(f: ConfigurationDecl) -> Self
Converts to this type from the input type.
source§impl From<DictionaryDecl> for CapabilityDecl
impl From<DictionaryDecl> for CapabilityDecl
source§fn from(f: DictionaryDecl) -> Self
fn from(f: DictionaryDecl) -> Self
Converts to this type from the input type.
source§impl From<DirectoryDecl> for CapabilityDecl
impl From<DirectoryDecl> for CapabilityDecl
source§fn from(f: DirectoryDecl) -> Self
fn from(f: DirectoryDecl) -> Self
Converts to this type from the input type.
source§impl From<EventStreamDecl> for CapabilityDecl
impl From<EventStreamDecl> for CapabilityDecl
source§fn from(f: EventStreamDecl) -> Self
fn from(f: EventStreamDecl) -> Self
Converts to this type from the input type.
source§impl From<ProtocolDecl> for CapabilityDecl
impl From<ProtocolDecl> for CapabilityDecl
source§fn from(f: ProtocolDecl) -> Self
fn from(f: ProtocolDecl) -> Self
Converts to this type from the input type.
source§impl From<ResolverDecl> for CapabilityDecl
impl From<ResolverDecl> for CapabilityDecl
source§fn from(f: ResolverDecl) -> Self
fn from(f: ResolverDecl) -> Self
Converts to this type from the input type.
source§impl From<RunnerDecl> for CapabilityDecl
impl From<RunnerDecl> for CapabilityDecl
source§fn from(f: RunnerDecl) -> Self
fn from(f: RunnerDecl) -> Self
Converts to this type from the input type.
source§impl From<ServiceDecl> for CapabilityDecl
impl From<ServiceDecl> for CapabilityDecl
source§fn from(f: ServiceDecl) -> Self
fn from(f: ServiceDecl) -> Self
Converts to this type from the input type.
source§impl From<StorageDecl> for CapabilityDecl
impl From<StorageDecl> for CapabilityDecl
source§fn from(f: StorageDecl) -> Self
fn from(f: StorageDecl) -> Self
Converts to this type from the input type.
source§impl FromEnum<CapabilityDecl> for ConfigurationDecl
impl FromEnum<CapabilityDecl> for ConfigurationDecl
source§impl FromEnum<CapabilityDecl> for DictionaryDecl
impl FromEnum<CapabilityDecl> for DictionaryDecl
source§impl FromEnum<CapabilityDecl> for DirectoryDecl
impl FromEnum<CapabilityDecl> for DirectoryDecl
source§impl FromEnum<CapabilityDecl> for EventStreamDecl
impl FromEnum<CapabilityDecl> for EventStreamDecl
source§impl FromEnum<CapabilityDecl> for ProtocolDecl
impl FromEnum<CapabilityDecl> for ProtocolDecl
source§impl FromEnum<CapabilityDecl> for ResolverDecl
impl FromEnum<CapabilityDecl> for ResolverDecl
source§impl FromEnum<CapabilityDecl> for RunnerDecl
impl FromEnum<CapabilityDecl> for RunnerDecl
source§impl FromEnum<CapabilityDecl> for ServiceDecl
impl FromEnum<CapabilityDecl> for ServiceDecl
source§impl FromEnum<CapabilityDecl> for StorageDecl
impl FromEnum<CapabilityDecl> for StorageDecl
source§impl NativeIntoFidl<Capability> for CapabilityDecl
impl NativeIntoFidl<Capability> for CapabilityDecl
fn native_into_fidl(self) -> Capability
source§impl PartialEq for CapabilityDecl
impl PartialEq for CapabilityDecl
source§fn eq(&self, other: &CapabilityDecl) -> bool
fn eq(&self, other: &CapabilityDecl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CapabilityDecl
impl StructuralPartialEq for CapabilityDecl
Auto Trait Implementations§
impl Freeze for CapabilityDecl
impl RefUnwindSafe for CapabilityDecl
impl Send for CapabilityDecl
impl Sync for CapabilityDecl
impl Unpin for CapabilityDecl
impl UnwindSafe for CapabilityDecl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)