pub enum ExtendedMoniker {
    ComponentInstance(Moniker),
    ComponentManager,
}Expand description
One of:
- A moniker
 - A marker representing component manager’s realm
 
Variants§
Implementations§
Source§impl ExtendedMoniker
 
impl ExtendedMoniker
pub fn unwrap_instance_moniker_or<E: Error>( &self, error: E, ) -> Result<&Moniker, E>
pub fn has_prefix(&self, other: &Self) -> bool
pub fn parse_str(rep: &str) -> Result<Self, MonikerError>
Trait Implementations§
Source§impl Clone for ExtendedMoniker
 
impl Clone for ExtendedMoniker
Source§fn clone(&self) -> ExtendedMoniker
 
fn clone(&self) -> ExtendedMoniker
Returns a duplicate 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 ExtendedMoniker
 
impl Debug for ExtendedMoniker
Source§impl Display for ExtendedMoniker
 
impl Display for ExtendedMoniker
Source§impl FidlIntoNative<ExtendedMoniker> for String
 
impl FidlIntoNative<ExtendedMoniker> for String
fn fidl_into_native(self) -> ExtendedMoniker
Source§impl From<Moniker> for ExtendedMoniker
 
impl From<Moniker> for ExtendedMoniker
Source§impl FromStr for ExtendedMoniker
 
impl FromStr for ExtendedMoniker
Source§impl Hash for ExtendedMoniker
 
impl Hash for ExtendedMoniker
Source§impl NativeIntoFidl<String> for ExtendedMoniker
 
impl NativeIntoFidl<String> for ExtendedMoniker
fn native_into_fidl(self) -> String
Source§impl Ord for ExtendedMoniker
 
impl Ord for ExtendedMoniker
Source§fn cmp(&self, other: &ExtendedMoniker) -> Ordering
 
fn cmp(&self, other: &ExtendedMoniker) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtendedMoniker
 
impl PartialEq for ExtendedMoniker
Source§impl PartialOrd for ExtendedMoniker
 
impl PartialOrd for ExtendedMoniker
Source§impl TryFrom<&str> for ExtendedMoniker
 
impl TryFrom<&str> for ExtendedMoniker
Source§type Error = MonikerError
 
type Error = MonikerError
The type returned in the event of a conversion error.
impl Eq for ExtendedMoniker
impl StructuralPartialEq for ExtendedMoniker
Auto Trait Implementations§
impl Freeze for ExtendedMoniker
impl RefUnwindSafe for ExtendedMoniker
impl Send for ExtendedMoniker
impl Sync for ExtendedMoniker
impl Unpin for ExtendedMoniker
impl UnwindSafe for ExtendedMoniker
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more