pub enum RenderingError {
RenderingFailed(Box<RenderError>),
}
Expand description
An error encountered when rendering a template.
Variants§
RenderingFailed(Box<RenderError>)
Trait Implementations§
source§impl Debug for RenderingError
impl Debug for RenderingError
source§impl Display for RenderingError
impl Display for RenderingError
source§impl Error for RenderingError
impl Error for RenderingError
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<Box<RenderError>> for RenderingError
impl From<Box<RenderError>> for RenderingError
source§fn from(source: Box<RenderError>) -> Self
fn from(source: Box<RenderError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RenderingError
impl !RefUnwindSafe for RenderingError
impl Send for RenderingError
impl Sync for RenderingError
impl Unpin for RenderingError
impl !UnwindSafe for RenderingError
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