pub enum CapabilityTypeName {
Directory,
EventStream,
Protocol,
Resolver,
Runner,
Service,
Storage,
Dictionary,
Config,
}
Expand description
A named capability type.
CapabilityTypeName
provides a user friendly type encoding for a capability.
Variants§
Trait Implementations§
Source§impl Clone for CapabilityTypeName
impl Clone for CapabilityTypeName
Source§fn clone(&self) -> CapabilityTypeName
fn clone(&self) -> CapabilityTypeName
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 CapabilityTypeName
impl Debug for CapabilityTypeName
Source§impl Display for CapabilityTypeName
impl Display for CapabilityTypeName
Source§impl FidlIntoNative<CapabilityTypeName> for String
impl FidlIntoNative<CapabilityTypeName> for String
fn fidl_into_native(self) -> CapabilityTypeName
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<&ExposeDecl> for CapabilityTypeName
impl From<&ExposeDecl> for CapabilityTypeName
Source§fn from(expose_decl: &ExposeDecl) -> Self
fn from(expose_decl: &ExposeDecl) -> Self
Converts to this type from the input type.
Source§impl From<&OfferDecl> for CapabilityTypeName
impl From<&OfferDecl> for CapabilityTypeName
Source§impl From<&UseDecl> for CapabilityTypeName
impl From<&UseDecl> for CapabilityTypeName
Source§impl From<CapabilityTypeName> for DirentType
impl From<CapabilityTypeName> for DirentType
Source§fn from(value: CapabilityTypeName) -> Self
fn from(value: CapabilityTypeName) -> Self
Converts to this type from the input type.
Source§impl FromStr for CapabilityTypeName
impl FromStr for CapabilityTypeName
Source§impl Hash for CapabilityTypeName
impl Hash for CapabilityTypeName
Source§impl NativeIntoFidl<String> for CapabilityTypeName
impl NativeIntoFidl<String> for CapabilityTypeName
fn native_into_fidl(self) -> String
Source§impl PartialEq for CapabilityTypeName
impl PartialEq for CapabilityTypeName
impl Copy for CapabilityTypeName
impl Eq for CapabilityTypeName
impl StructuralPartialEq for CapabilityTypeName
Auto Trait Implementations§
impl Freeze for CapabilityTypeName
impl RefUnwindSafe for CapabilityTypeName
impl Send for CapabilityTypeName
impl Sync for CapabilityTypeName
impl Unpin for CapabilityTypeName
impl UnwindSafe for CapabilityTypeName
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
)