[−][src]Enum streamson_lib::matcher::combinator::Combinator
Combines several matches together
It implements normal boolean algebra
! combwill negate the combinatorcomb1 & comb2both should passcomb1 | comb2at least one should pass
Variants
Matcher(Arc<dyn MatchMaker + Sync>)Represents the actual underlying matcher
Not(Box<Combinator>)Negates the expression
And(Box<Combinator>, Box<Combinator>)Both expressions should be valid
Or(Box<Combinator>, Box<Combinator>)At least one of the expressions should be valid
Implementations
impl Combinator[src]
pub fn new(matcher: impl MatchMaker + 'static + Sync) -> Self[src]
Trait Implementations
impl BitAnd<Combinator> for Combinator[src]
type Output = Self
The resulting type after applying the & operator.
fn bitand(self, rhs: Self) -> Self[src]
impl BitOr<Combinator> for Combinator[src]
type Output = Self
The resulting type after applying the | operator.
fn bitor(self, rhs: Self) -> Self[src]
impl Clone for Combinator[src]
fn clone(&self) -> Combinator[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for Combinator[src]
impl MatchMaker for Combinator[src]
fn match_path(&self, path: &str) -> bool[src]
impl Not for Combinator[src]
Auto Trait Implementations
impl !RefUnwindSafe for Combinator
impl Send for Combinator
impl Sync for Combinator
impl Unpin for Combinator
impl !UnwindSafe for Combinator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,