Enum content_blocker::Reaction [] [src]

pub enum Reaction {
    Block,
    BlockCookies,
    HideMatchingElements(String),
}

The action to take for the provided request.

Variants

Block

Block the request from starting.

BlockCookies

Strip the HTTP cookies from the request.

HideMatchingElements(String)

Hide the elements matching the given CSS selector in the originating document.

Trait Implementations

impl PartialEq for Reaction
[src]

fn eq(&self, __arg_0: &Reaction) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Reaction) -> bool

This method tests for !=.

impl Debug for Reaction
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.