pub trait Filter<K, M>where
    K: Id + CaptureControl,
    M: Msg,{
    // Required method
    fn allow_entry(&self, entry: &impl EventEntry<K, M>) -> bool;
}

Required Methods§

fn allow_entry(&self, entry: &impl EventEntry<K, M>) -> bool

Return true if the entry is allowed to be captured.

Implementors§

source§

impl Filter<LogId, LogMsg> for FilterConfig

source§

impl Filter<LogId, LogMsg> for LogFilter

§

impl<K, M> Filter<K, M> for DummyFilter<K, M>where K: Id + CaptureControl, M: Msg,