pub enum TemplateRegistryError {
FileIOError(Error),
TemplateError(TemplateError),
RenderError(RenderError),
}
Variants§
Trait Implementations§
source§impl Debug for TemplateRegistryError
impl Debug for TemplateRegistryError
source§impl Display for TemplateRegistryError
impl Display for TemplateRegistryError
source§impl Error for TemplateRegistryError
impl Error for TemplateRegistryError
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()
source§impl From<Error> for TemplateRegistryError
impl From<Error> for TemplateRegistryError
source§impl From<RenderError> for TemplateRegistryError
impl From<RenderError> for TemplateRegistryError
source§fn from(render_error: RenderError) -> Self
fn from(render_error: RenderError) -> Self
Converts to this type from the input type.
source§impl From<TemplateError> for TemplateRegistryError
impl From<TemplateError> for TemplateRegistryError
source§fn from(template_error: TemplateError) -> Self
fn from(template_error: TemplateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TemplateRegistryError
impl Send for TemplateRegistryError
impl Sync for TemplateRegistryError
impl Unpin for TemplateRegistryError
impl !UnwindSafe for TemplateRegistryError
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