Struct handlebars::RenderError
source · pub struct RenderError {
pub desc: String,
pub template_name: Option<String>,
pub line_no: Option<usize>,
pub column_no: Option<usize>,
/* private fields */
}
Expand description
Error when rendering data on template.
Fields
desc: String
template_name: Option<String>
line_no: Option<usize>
column_no: Option<usize>
Implementations
sourceimpl RenderError
impl RenderError
Trait Implementations
sourceimpl Debug for RenderError
impl Debug for RenderError
sourceimpl Display for RenderError
impl Display for RenderError
sourceimpl Error for RenderError
impl Error for RenderError
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 RenderError
impl From<Error> for RenderError
sourcefn from(e: IOError) -> RenderError
fn from(e: IOError) -> RenderError
Converts to this type from the input type.
sourceimpl From<Error> for RenderError
impl From<Error> for RenderError
sourcefn from(e: SerdeError) -> RenderError
fn from(e: SerdeError) -> RenderError
Converts to this type from the input type.
sourceimpl From<FromUtf8Error> for RenderError
impl From<FromUtf8Error> for RenderError
sourcefn from(e: FromUtf8Error) -> RenderError
fn from(e: FromUtf8Error) -> RenderError
Converts to this type from the input type.
sourceimpl From<RenderError> for TemplateRenderError
impl From<RenderError> for TemplateRenderError
sourcefn from(err: RenderError) -> TemplateRenderError
fn from(err: RenderError) -> TemplateRenderError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl !UnwindSafe for RenderError
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