[][src]Struct adblock::blocker::NetworkFilterList

pub struct NetworkFilterList { /* fields omitted */ }

Implementations

impl NetworkFilterList[src]

pub fn new(filters: Vec<NetworkFilter>, optimize: bool) -> NetworkFilterList[src]

pub fn optimize(&mut self)[src]

pub fn add_filter(&mut self, filter: NetworkFilter)[src]

pub fn filter_exists(&self, filter: &NetworkFilter) -> bool[src]

pub fn check(
    &self,
    request: &Request,
    request_tokens: &[Hash],
    active_tags: &HashSet<String>
) -> Option<&NetworkFilter>
[src]

Trait Implementations

impl Default for NetworkFilterList[src]

impl<'de> Deserialize<'de> for NetworkFilterList[src]

impl Serialize for NetworkFilterList[src]

Auto Trait Implementations

impl RefUnwindSafe for NetworkFilterList

impl Send for NetworkFilterList

impl Sync for NetworkFilterList

impl Unpin for NetworkFilterList

impl UnwindSafe for NetworkFilterList

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.