Enum moniker::ExtendedMoniker
source · 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 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 ExtendedMoniker
impl Debug for ExtendedMoniker
source§impl Display for ExtendedMoniker
impl Display for ExtendedMoniker
source§impl From<Moniker> for ExtendedMoniker
impl From<Moniker> for ExtendedMoniker
source§impl Hash for ExtendedMoniker
impl Hash for ExtendedMoniker
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§fn eq(&self, other: &ExtendedMoniker) -> bool
fn eq(&self, other: &ExtendedMoniker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExtendedMoniker
impl PartialOrd for ExtendedMoniker
source§fn partial_cmp(&self, other: &ExtendedMoniker) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtendedMoniker) -> 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 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