pub struct PlainDisplayErrorRenderer;
Expand description
A an error renderer that will simply.
Trait Implementations§
Source§impl Clone for PlainDisplayErrorRenderer
impl Clone for PlainDisplayErrorRenderer
Source§fn clone(&self) -> PlainDisplayErrorRenderer
fn clone(&self) -> PlainDisplayErrorRenderer
Returns a duplicate 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 PlainDisplayErrorRenderer
impl<V> ErrorHandler<V> for PlainDisplayErrorRenderer
Source§type Response = (StatusCode, String)
type Response = (StatusCode, String)
Whatever the handler should respond with.
Source§async fn handle_error(&self, error: Error<V>) -> Self::Response
async fn handle_error(&self, error: Error<V>) -> Self::Response
Handler the validation error.
impl Copy for PlainDisplayErrorRenderer
impl Eq for PlainDisplayErrorRenderer
impl StructuralPartialEq for PlainDisplayErrorRenderer
Auto Trait Implementations§
impl Freeze for PlainDisplayErrorRenderer
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