pub enum HandlebarsError {
RenderError(RenderError),
}Expand description
Error wrapper for handlebars::RenderError
Variants§
RenderError(RenderError)
Trait Implementations§
Source§impl Debug for HandlebarsError
impl Debug for HandlebarsError
Source§impl Display for HandlebarsError
impl Display for HandlebarsError
Source§impl Error for HandlebarsError
impl Error for HandlebarsError
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<RenderError> for HandlebarsError
impl From<RenderError> for HandlebarsError
Source§fn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for HandlebarsError
impl IntoResponse for HandlebarsError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for HandlebarsError
impl !RefUnwindSafe for HandlebarsError
impl Send for HandlebarsError
impl Sync for HandlebarsError
impl Unpin for HandlebarsError
impl UnsafeUnpin for HandlebarsError
impl !UnwindSafe for HandlebarsError
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