Enum adblock::filters::network::NetworkFilterError
source · pub enum NetworkFilterError {
Show 25 variants
FilterParseError,
NegatedBadFilter,
NegatedImportant,
NegatedOptionMatchCase,
NegatedExplicitCancel,
NegatedRedirection,
NegatedTag,
NegatedGenericHide,
NegatedDocument,
GenericHideWithoutException,
EmptyRedirection,
EmptyRemoveparam,
NegatedRemoveparam,
RemoveparamWithException,
RemoveparamRegexUnsupported,
RedirectionUrlInvalid,
MultipleModifierOptions,
UnrecognisedOption,
NoRegex,
FullRegexUnsupported,
RegexParsingError(Error),
PunycodeError,
CspWithContentType,
MatchCaseWithoutFullRegex,
NoSupportedDomains,
}
Variants§
FilterParseError
NegatedBadFilter
NegatedImportant
NegatedOptionMatchCase
NegatedExplicitCancel
NegatedRedirection
NegatedTag
NegatedGenericHide
NegatedDocument
GenericHideWithoutException
EmptyRedirection
EmptyRemoveparam
NegatedRemoveparam
RemoveparamWithException
RemoveparamRegexUnsupported
RedirectionUrlInvalid
MultipleModifierOptions
UnrecognisedOption
NoRegex
FullRegexUnsupported
RegexParsingError(Error)
PunycodeError
CspWithContentType
MatchCaseWithoutFullRegex
NoSupportedDomains
Trait Implementations§
source§impl Clone for NetworkFilterError
impl Clone for NetworkFilterError
source§fn clone(&self) -> NetworkFilterError
fn clone(&self) -> NetworkFilterError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NetworkFilterError
impl Debug for NetworkFilterError
source§impl Display for NetworkFilterError
impl Display for NetworkFilterError
source§impl Error for NetworkFilterError
impl Error for NetworkFilterError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<NetworkFilterError> for FilterParseError
impl From<NetworkFilterError> for FilterParseError
source§fn from(v: NetworkFilterError) -> Self
fn from(v: NetworkFilterError) -> Self
Converts to this type from the input type.
source§impl PartialEq for NetworkFilterError
impl PartialEq for NetworkFilterError
source§fn eq(&self, other: &NetworkFilterError) -> bool
fn eq(&self, other: &NetworkFilterError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkFilterError
Auto Trait Implementations§
impl Freeze for NetworkFilterError
impl RefUnwindSafe for NetworkFilterError
impl Send for NetworkFilterError
impl Sync for NetworkFilterError
impl Unpin for NetworkFilterError
impl UnwindSafe for NetworkFilterError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more