Enum content_blocker::Reaction [] [src]

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

The action to take for the provided request.

Variants

Block the request from starting.

Strip the HTTP cookies from the request.

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

Trait Implementations

impl Debug for Reaction
[src]

Formats the value using the given formatter.

impl PartialEq for Reaction
[src]

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

This method tests for !=.