pub struct PlainDisplayErrorRenderer;
Expand description
A an error renderer that wil simply.
Trait Implementations§
source§impl Clone for PlainDisplayErrorRenderer
impl Clone for PlainDisplayErrorRenderer
source§fn clone(&self) -> PlainDisplayErrorRenderer
fn clone(&self) -> PlainDisplayErrorRenderer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PlainDisplayErrorRenderer
impl Debug for PlainDisplayErrorRenderer
source§impl Default for PlainDisplayErrorRenderer
impl Default for PlainDisplayErrorRenderer
source§fn default() -> PlainDisplayErrorRenderer
fn default() -> PlainDisplayErrorRenderer
Returns the “default value” for a type. Read more
source§impl<V> ErrorHandler<V> for PlainDisplayErrorRendererwhere
for<'a> V: Display + Send + 'a,
impl<V> ErrorHandler<V> for PlainDisplayErrorRendererwhere for<'a> V: Display + Send + 'a,
§type Response = (StatusCode, String)
type Response = (StatusCode, String)
Whatever the handler should respond with.
source§impl PartialEq<PlainDisplayErrorRenderer> for PlainDisplayErrorRenderer
impl PartialEq<PlainDisplayErrorRenderer> for PlainDisplayErrorRenderer
source§fn eq(&self, other: &PlainDisplayErrorRenderer) -> bool
fn eq(&self, other: &PlainDisplayErrorRenderer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PlainDisplayErrorRenderer
impl Eq for PlainDisplayErrorRenderer
impl StructuralEq for PlainDisplayErrorRenderer
impl StructuralPartialEq for PlainDisplayErrorRenderer
Auto Trait Implementations§
impl RefUnwindSafe for PlainDisplayErrorRenderer
impl Send for PlainDisplayErrorRenderer
impl Sync for PlainDisplayErrorRenderer
impl Unpin for PlainDisplayErrorRenderer
impl UnwindSafe for PlainDisplayErrorRenderer
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