pub enum BasicEventFilter {
Timestamp(ValueOperator, Timestamp),
Level(Level),
Connection(ConnectionKey),
Target(ValueStringComparison),
File(FileFilter),
Ancestor(SpanKey),
Root,
Parent(SpanKey),
Attribute(String, ValueFilter),
Not(Box<BasicEventFilter>),
And(Vec<BasicEventFilter>),
Or(Vec<BasicEventFilter>),
}Variants§
Timestamp(ValueOperator, Timestamp)
Level(Level)
Connection(ConnectionKey)
Target(ValueStringComparison)
File(FileFilter)
Ancestor(SpanKey)
Root
Parent(SpanKey)
Attribute(String, ValueFilter)
Not(Box<BasicEventFilter>)
And(Vec<BasicEventFilter>)
Or(Vec<BasicEventFilter>)
Implementations§
Source§impl BasicEventFilter
impl BasicEventFilter
pub fn simplify(&mut self)
pub fn validate( predicate: FilterPredicate, ) -> Result<FallibleFilterPredicate, InputError>
pub fn from_predicate( predicate: FilterPredicate, connection_key_map: &HashMap<ConnectionId, ConnectionKey>, span_key_map: &HashMap<(ConnectionKey, SpanId), SpanKey>, ) -> Result<BasicEventFilter, InputError>
Auto Trait Implementations§
impl Freeze for BasicEventFilter
impl RefUnwindSafe for BasicEventFilter
impl Send for BasicEventFilter
impl Sync for BasicEventFilter
impl Unpin for BasicEventFilter
impl UnwindSafe for BasicEventFilter
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