pub enum FilterValueListParserError {
PercentageValue(usize),
NegativeValue(usize),
InvalidAngle(usize),
MissingDropShadowOffset(usize),
InvalidUrl(usize),
StreamErrors(Error),
}
Expand description
A list of possible FilterValueListParser
errors.
Variants§
PercentageValue(usize)
Lengths with percentage values are not allowed.
NegativeValue(usize)
Some values cannot be negative.
InvalidAngle(usize)
An invalid angle value.
MissingDropShadowOffset(usize)
Drop shadow offset values must be set.
InvalidUrl(usize)
Usually indicates an empty url.
StreamErrors(Error)
Other errors.
Trait Implementations§
source§impl Debug for FilterValueListParserError
impl Debug for FilterValueListParserError
source§impl Display for FilterValueListParserError
impl Display for FilterValueListParserError
source§impl Error for FilterValueListParserError
impl Error for FilterValueListParserError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for FilterValueListParserError
impl RefUnwindSafe for FilterValueListParserError
impl Send for FilterValueListParserError
impl Sync for FilterValueListParserError
impl Unpin for FilterValueListParserError
impl UnwindSafe for FilterValueListParserError
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