Enum nanotemplate::TemplateError
source · [−]pub enum TemplateError {
MissingValueForPlaceholder(String),
NoPlaceholder(String),
OutputError(Error),
}
Variants
MissingValueForPlaceholder(String)
NoPlaceholder(String)
OutputError(Error)
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 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for TemplateError
impl From<Error> for TemplateError
sourcefn from(err: Error) -> TemplateError
fn from(err: 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