Enum css_inline::error::InlineError
source · [−]pub enum InlineError {
MissingStyleSheet {
path: String,
},
IO(Error),
Network(Error),
ParseError(Cow<'static, str>),
}
Expand description
Inlining error
Variants
MissingStyleSheet
Fields
path: String
Path to the missing file.
Missing stylesheet file.
IO(Error)
Input-output error. May happen during writing the resulting HTML.
Network(Error)
Network-related problem. E.g. resource is not available.
ParseError(Cow<'static, str>)
Syntax errors or unsupported selectors.
Trait Implementations
sourceimpl Debug for InlineError
impl Debug for InlineError
sourceimpl Display for InlineError
impl Display for InlineError
sourceimpl Error for InlineError
impl Error for InlineError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<(ParseError<'_, ()>, &str)> for InlineError
impl From<(ParseError<'_, ()>, &str)> for InlineError
sourcefn from(error: (ParseError<'_, ()>, &str)) -> Self
fn from(error: (ParseError<'_, ()>, &str)) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for InlineError
impl From<Error> for InlineError
Auto Trait Implementations
impl !RefUnwindSafe for InlineError
impl Send for InlineError
impl Sync for InlineError
impl Unpin for InlineError
impl !UnwindSafe for InlineError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more