pub enum DCssError {
File(Error),
CssParse(String),
}Variants§
Trait Implementations§
Source§impl Error for DCssError
impl Error for DCssError
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<'a> From<BasicParseError<'a>> for DCssError
impl<'a> From<BasicParseError<'a>> for DCssError
Source§fn from(value: BasicParseError<'a>) -> Self
fn from(value: BasicParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, E> From<ParseError<'a, E>> for DCssError
impl<'a, E> From<ParseError<'a, E>> for DCssError
Source§fn from(value: ParseError<'a, E>) -> Self
fn from(value: ParseError<'a, E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DCssError
impl !RefUnwindSafe for DCssError
impl Send for DCssError
impl Sync for DCssError
impl Unpin for DCssError
impl !UnwindSafe for DCssError
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