Skip to main content

FilterFn

Trait FilterFn 

Source
pub trait FilterFn:
    'static
    + Sync
    + Send
    + UnwindSafe
    + RefUnwindSafe
    + Fn(&Record<'_>) -> bool { }
Expand description

Function that can be used in Filter drain

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> FilterFn for T
where T: 'static + Sync + Send + ?Sized + UnwindSafe + RefUnwindSafe + Fn(&Record<'_>) -> bool,