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 FromStr for ExtendedMoniker
impl FromStr 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§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,
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
)