pub struct FilterPool { /* private fields */ }Implementations§
Source§impl FilterPool
impl FilterPool
pub fn new() -> Self
pub fn build(filters: Vec<FilterObject>) -> Self
pub fn add_filter(&mut self, filter: FilterObject)
pub async fn filter(&self, matcher: Matcher) -> bool
Auto Trait Implementations§
impl Freeze for FilterPool
impl !RefUnwindSafe for FilterPool
impl Send for FilterPool
impl Sync for FilterPool
impl Unpin for FilterPool
impl !UnwindSafe for FilterPool
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