Enum fervid_css::CssError
source · pub enum CssError {
ParseRecoverable(Error),
ParseUnrecoverable(Error),
ParseDeepRecoverable(Error),
ParseDeepUnrecoverable(Error),
}Variants§
ParseRecoverable(Error)
ParseUnrecoverable(Error)
ParseDeepRecoverable(Error)
ParseDeepUnrecoverable(Error)
Trait Implementations§
source§impl Severity for CssError
impl Severity for CssError
fn get_severity(&self) -> SeverityLevel
source§fn is_recoverable_error(&self) -> bool
fn is_recoverable_error(&self) -> bool
Returns
true if the severity level is RecoverableError.source§fn is_unrecoverable_error(&self) -> bool
fn is_unrecoverable_error(&self) -> bool
Returns
true if the severity level is UnrecoverableError.source§fn is_warning(&self) -> bool
fn is_warning(&self) -> bool
Returns
true if the severity level is Warning.Auto Trait Implementations§
impl RefUnwindSafe for CssError
impl Send for CssError
impl Sync for CssError
impl Unpin for CssError
impl UnwindSafe for CssError
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