Enum lol_html::errors::RewritingError
source · pub enum RewritingError {
MemoryLimitExceeded(MemoryLimitExceededError),
ParsingAmbiguity(ParsingAmbiguityError),
ContentHandlerError(Box<dyn StdError + Send + Sync>),
}
Expand description
Variants§
MemoryLimitExceeded(MemoryLimitExceededError)
ParsingAmbiguity(ParsingAmbiguityError)
ContentHandlerError(Box<dyn StdError + Send + Sync>)
An error that was propagated from one of the content handlers.
Trait Implementations§
source§impl Debug for RewritingError
impl Debug for RewritingError
source§impl Display for RewritingError
impl Display for RewritingError
source§impl Error for RewritingError
impl Error for RewritingError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for RewritingError
impl Send for RewritingError
impl Sync for RewritingError
impl Unpin for RewritingError
impl !UnwindSafe for RewritingError
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