Enum iron_tera::TemplateError
source · pub enum TemplateError {
SerdeErr(Error),
ContextErr(),
}
Variants
SerdeErr(Error)
ContextErr()
Trait Implementations
sourceimpl Debug for TemplateError
impl Debug for TemplateError
sourceimpl Display for TemplateError
impl Display for TemplateError
sourceimpl Error for TemplateError
impl Error for TemplateError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<Error> for TemplateError
impl From<Error> for TemplateError
sourcefn from(e: Error) -> TemplateError
fn from(e: Error) -> TemplateError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for TemplateError
impl Send for TemplateError
impl Sync for TemplateError
impl Unpin for TemplateError
impl !UnwindSafe for TemplateError
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