pub enum ParseStyleTokenError {
Unrecognized(String),
InvalidColor(ParseColorError),
}
Variants§
Unrecognized(String)
InvalidColor(ParseColorError)
Trait Implementations§
source§impl Debug for ParseStyleTokenError
impl Debug for ParseStyleTokenError
source§impl Display for ParseStyleTokenError
impl Display for ParseStyleTokenError
source§impl Error for ParseStyleTokenError
impl Error for ParseStyleTokenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ParseColorError> for ParseStyleTokenError
impl From<ParseColorError> for ParseStyleTokenError
source§fn from(source: ParseColorError) -> Self
fn from(source: ParseColorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseStyleTokenError
impl RefUnwindSafe for ParseStyleTokenError
impl Send for ParseStyleTokenError
impl Sync for ParseStyleTokenError
impl Unpin for ParseStyleTokenError
impl UnwindSafe for ParseStyleTokenError
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