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
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for DictionaryDecl
impl FromEnum<CapabilityDecl> for DictionaryDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for DirectoryDecl
impl FromEnum<CapabilityDecl> for DirectoryDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for EventStreamDecl
impl FromEnum<CapabilityDecl> for EventStreamDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for ProtocolDecl
impl FromEnum<CapabilityDecl> for ProtocolDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for ResolverDecl
impl FromEnum<CapabilityDecl> for ResolverDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for RunnerDecl
impl FromEnum<CapabilityDecl> for RunnerDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for ServiceDecl
impl FromEnum<CapabilityDecl> for ServiceDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl FromEnum<CapabilityDecl> for StorageDecl
impl FromEnum<CapabilityDecl> for StorageDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)