#[non_exhaustive]pub enum FilterParserError {
}Expand description
Errors for filter parser module
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Io(IOError)
Proxy value for std::io::Error
Network(HttpClientError)
Proxy value for http client errors
EmptyIf
Token !#if has no condition expression after that
UnbalancedElse
At least one !#else directive is redundant,
because it is not balanced with the !#if directive.
UnbalancedEndIf
At least one !#endif directive is redundant,
because it is not balanced with the !#if directive.
UnbalancedIf
We’ve found unbalanced if/else/endif expressions after compiling the filter
RecursiveInclusion
Recursive filter inclusion detected
StackIsCorrupted
Stack is corrupted. This is internal error
SchemeIsIncorrect(String)
Scheme problems marker
InvalidBooleanExpression
Expression passed into !#endif is invalid
InvalidChecksum(String, String)
Calculated invalid checksum
NoContent
Next patch is not compiled yet. So the remote file is empty
FilterContentIsLikelyNotAFilter
When filter’s body is not valid filters body by parser’s heuristics
Other(String)
Other errors
Trait Implementations§
Source§impl Debug for FilterParserError
impl Debug for FilterParserError
Source§impl Display for FilterParserError
impl Display for FilterParserError
Source§impl Error for FilterParserError
impl Error for FilterParserError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for FilterParserError
impl PartialEq for FilterParserError
impl StructuralPartialEq for FilterParserError
Auto Trait Implementations§
impl Freeze for FilterParserError
impl RefUnwindSafe for FilterParserError
impl Send for FilterParserError
impl Sync for FilterParserError
impl Unpin for FilterParserError
impl UnsafeUnpin for FilterParserError
impl UnwindSafe for FilterParserError
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more