struct ErrorPage<'a> {
title: &'a str,
message: &'a str,
}
Fields§
§title: &'a str
§message: &'a str
Implementations§
Trait Implementations§
source§impl<'a> TemplateOnce for ErrorPage<'a>
impl<'a> TemplateOnce for ErrorPage<'a>
source§fn render_once(self) -> RenderResult
fn render_once(self) -> RenderResult
Render the template and return the rendering result as
RenderResult
Read moreimpl<'a> Sealed for ErrorPage<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ErrorPage<'a>
impl<'a> Send for ErrorPage<'a>
impl<'a> Sync for ErrorPage<'a>
impl<'a> Unpin for ErrorPage<'a>
impl<'a> UnwindSafe for ErrorPage<'a>
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