pub enum InstancedExtendedMoniker {
ComponentInstance(InstancedMoniker),
ComponentManager,
}
Expand description
One of:
- An instanced moniker
- A marker representing component manager’s realm
Variants§
ComponentInstance(InstancedMoniker)
ComponentManager
Implementations§
source§impl InstancedExtendedMoniker
impl InstancedExtendedMoniker
pub fn parse_str(rep: &str) -> Result<Self, MonikerError>
pub fn unwrap_instance_moniker_or<E: Error>( &self, error: E ) -> Result<&InstancedMoniker, E>
pub fn has_prefix(&self, other: &InstancedExtendedMoniker) -> bool
Trait Implementations§
source§impl Clone for InstancedExtendedMoniker
impl Clone for InstancedExtendedMoniker
source§fn clone(&self) -> InstancedExtendedMoniker
fn clone(&self) -> InstancedExtendedMoniker
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 InstancedExtendedMoniker
impl Debug for InstancedExtendedMoniker
source§impl Display for InstancedExtendedMoniker
impl Display for InstancedExtendedMoniker
source§impl From<InstancedMoniker> for InstancedExtendedMoniker
impl From<InstancedMoniker> for InstancedExtendedMoniker
source§fn from(m: InstancedMoniker) -> Self
fn from(m: InstancedMoniker) -> Self
Converts to this type from the input type.
source§impl Hash for InstancedExtendedMoniker
impl Hash for InstancedExtendedMoniker
source§impl Ord for InstancedExtendedMoniker
impl Ord for InstancedExtendedMoniker
source§fn cmp(&self, other: &InstancedExtendedMoniker) -> Ordering
fn cmp(&self, other: &InstancedExtendedMoniker) -> 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 InstancedExtendedMoniker
impl PartialEq for InstancedExtendedMoniker
source§fn eq(&self, other: &InstancedExtendedMoniker) -> bool
fn eq(&self, other: &InstancedExtendedMoniker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InstancedExtendedMoniker
impl PartialOrd for InstancedExtendedMoniker
source§fn partial_cmp(&self, other: &InstancedExtendedMoniker) -> Option<Ordering>
fn partial_cmp(&self, other: &InstancedExtendedMoniker) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for InstancedExtendedMoniker
impl StructuralPartialEq for InstancedExtendedMoniker
Auto Trait Implementations§
impl RefUnwindSafe for InstancedExtendedMoniker
impl Send for InstancedExtendedMoniker
impl Sync for InstancedExtendedMoniker
impl Unpin for InstancedExtendedMoniker
impl UnwindSafe for InstancedExtendedMoniker
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