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
sourceimpl<'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
sourceimpl<'m> Clone for MatchRulePathSpec<'m>
impl<'m> Clone for MatchRulePathSpec<'m>
sourcefn clone(&self) -> MatchRulePathSpec<'m>
fn clone(&self) -> MatchRulePathSpec<'m>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'m> Debug for MatchRulePathSpec<'m>
impl<'m> Debug for MatchRulePathSpec<'m>
sourceimpl<'m> Hash for MatchRulePathSpec<'m>
impl<'m> Hash for MatchRulePathSpec<'m>
sourceimpl<'m> PartialEq<MatchRulePathSpec<'m>> for MatchRulePathSpec<'m>
impl<'m> PartialEq<MatchRulePathSpec<'m>> for MatchRulePathSpec<'m>
sourcefn eq(&self, other: &MatchRulePathSpec<'m>) -> bool
fn eq(&self, other: &MatchRulePathSpec<'m>) -> bool
impl<'m> Eq for MatchRulePathSpec<'m>
impl<'m> StructuralEq for MatchRulePathSpec<'m>
impl<'m> StructuralPartialEq for MatchRulePathSpec<'m>
Auto Trait Implementations
impl<'m> RefUnwindSafe for MatchRulePathSpec<'m>
impl<'m> Send for MatchRulePathSpec<'m>
impl<'m> Sync for MatchRulePathSpec<'m>
impl<'m> Unpin for MatchRulePathSpec<'m>
impl<'m> UnwindSafe for MatchRulePathSpec<'m>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more