Enum zbus::MatchRulePathSpec
source · pub enum MatchRulePathSpec<'m> {
Path(ObjectPath<'m>),
PathNamespace(ObjectPath<'m>),
}Expand description
The path or path namespace.
Variants§
Path(ObjectPath<'m>)
PathNamespace(ObjectPath<'m>)
Implementations§
source§impl<'m> MatchRulePathSpec<'m>
impl<'m> MatchRulePathSpec<'m>
sourcepub fn into_owned(self) -> MatchRulePathSpec<'static>
pub fn into_owned(self) -> MatchRulePathSpec<'static>
Creates an owned clone of self.
Trait Implementations§
source§impl<'m> Clone for MatchRulePathSpec<'m>
impl<'m> Clone for MatchRulePathSpec<'m>
source§fn clone(&self) -> MatchRulePathSpec<'m>
fn clone(&self) -> MatchRulePathSpec<'m>
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<'m> Debug for MatchRulePathSpec<'m>
impl<'m> Debug for MatchRulePathSpec<'m>
source§impl<'m> Hash for MatchRulePathSpec<'m>
impl<'m> Hash for MatchRulePathSpec<'m>
source§impl<'m> PartialEq<MatchRulePathSpec<'m>> for MatchRulePathSpec<'m>
impl<'m> PartialEq<MatchRulePathSpec<'m>> for MatchRulePathSpec<'m>
source§fn eq(&self, other: &MatchRulePathSpec<'m>) -> bool
fn eq(&self, other: &MatchRulePathSpec<'m>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.