Enum content_blocker::Error
[−]
[src]
pub enum Error { JSON, NotAList, }
Errors returned when parsing a JSON representation of a list of rules.
Variants
JSON
A JSON parsing error occurred.
NotAList
The root JSON object was not a list.
Trait Implementations
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.