pub enum DynamicCssParseError<'a> {
InvalidBraceContents(&'a str),
UnexpectedValue(CssParsingError<'a>),
}
Expand description
Error that can happen during css_parser::parse_key_value_pair
Variants§
InvalidBraceContents(&'a str)
The brace contents aren’t valid, i.e. var(asdlfkjasf)
UnexpectedValue(CssParsingError<'a>)
Unexpected value when parsing the string
Trait Implementations§
Source§impl<'a> Clone for DynamicCssParseError<'a>
impl<'a> Clone for DynamicCssParseError<'a>
Source§fn clone(&self) -> DynamicCssParseError<'a>
fn clone(&self) -> DynamicCssParseError<'a>
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<'a> Debug for DynamicCssParseError<'a>
impl<'a> Debug for DynamicCssParseError<'a>
Source§impl<'a> Display for DynamicCssParseError<'a>
impl<'a> Display for DynamicCssParseError<'a>
Source§impl<'a> From<CssParsingError<'a>> for DynamicCssParseError<'a>
impl<'a> From<CssParsingError<'a>> for DynamicCssParseError<'a>
Source§fn from(e: CssParsingError<'a>) -> Self
fn from(e: CssParsingError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DynamicCssParseError<'a>> for CssParseErrorInner<'a>
impl<'a> From<DynamicCssParseError<'a>> for CssParseErrorInner<'a>
Source§fn from(e: DynamicCssParseError<'a>) -> Self
fn from(e: DynamicCssParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for DynamicCssParseError<'a>
impl<'a> PartialEq for DynamicCssParseError<'a>
impl<'a> StructuralPartialEq for DynamicCssParseError<'a>
Auto Trait Implementations§
impl<'a> Freeze for DynamicCssParseError<'a>
impl<'a> RefUnwindSafe for DynamicCssParseError<'a>
impl<'a> Send for DynamicCssParseError<'a>
impl<'a> Sync for DynamicCssParseError<'a>
impl<'a> Unpin for DynamicCssParseError<'a>
impl<'a> UnwindSafe for DynamicCssParseError<'a>
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