Enum content_blocker::Error [] [src]

pub enum Error {
    JSON,
    NotAList,
}

Errors returned when parsing a JSON representation of a list of rules.

Variants

A JSON parsing error occurred.

The root JSON object was not a list.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

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

This method tests for !=.