Enum rtlola_hir::hir::selector::FilterSelector
source · pub enum FilterSelector {
Any,
Filtered,
Unfiltered,
}
Expand description
An enum used to select different filter behaviours of a stream.
Variants§
Any
Any stream matches this selector
Filtered
Only streams with a filter condition match this selector
Unfiltered
Only streams without a filter condition match this selector
Trait Implementations§
source§impl Clone for FilterSelector
impl Clone for FilterSelector
source§fn clone(&self) -> FilterSelector
fn clone(&self) -> FilterSelector
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 FilterSelector
impl Debug for FilterSelector
source§impl Selectable for FilterSelector
impl Selectable for FilterSelector
source§fn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool
fn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool
Returns true if the stream represented by
sref
is accepted (selected) by the selector.