pub enum FmtRenderError<R> {
Render(R),
Fmt(Error),
}Expand description
An error while rendering a compiled template string into a fmt::Write.
The Render variant is emitted by the particular
Manifest implementation which is used to parse the template string
expressions.
It is the associated Manifest::Error type.
For infallible rendering, there is a is a From<FmtRenderError<Infallible>> implementation for fmt::Error.
Variants§
Render(R)
A value in an expression could not be rendered.
Fmt(Error)
An error occured while writing to a fmt::Write.
Trait Implementations§
Source§impl<R: Debug> Debug for FmtRenderError<R>
impl<R: Debug> Debug for FmtRenderError<R>
Source§impl<R> From<Error> for FmtRenderError<R>
impl<R> From<Error> for FmtRenderError<R>
Source§impl From<FmtRenderError<Infallible>> for Error
impl From<FmtRenderError<Infallible>> for Error
Source§fn from(err: FmtRenderError<Infallible>) -> Self
fn from(err: FmtRenderError<Infallible>) -> Self
Converts to this type from the input type.
Source§impl<E, R> From<FmtRenderError<R>> for Error<E, R>
impl<E, R> From<FmtRenderError<R>> for Error<E, R>
Source§fn from(err: FmtRenderError<R>) -> Self
fn from(err: FmtRenderError<R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<R> Freeze for FmtRenderError<R>where
R: Freeze,
impl<R> RefUnwindSafe for FmtRenderError<R>where
R: RefUnwindSafe,
impl<R> Send for FmtRenderError<R>where
R: Send,
impl<R> Sync for FmtRenderError<R>where
R: Sync,
impl<R> Unpin for FmtRenderError<R>where
R: Unpin,
impl<R> UnwindSafe for FmtRenderError<R>where
R: UnwindSafe,
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