pub struct DefaultErrorDecoder;Expand description
Default error decoder that always returns None.
This is the default decoder used when no custom decoder is specified.
It simply falls back to the standard Error::Http handling.
Trait Implementations§
Source§impl Clone for DefaultErrorDecoder
impl Clone for DefaultErrorDecoder
Source§fn clone(&self) -> DefaultErrorDecoder
fn clone(&self) -> DefaultErrorDecoder
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 DefaultErrorDecoder
impl Debug for DefaultErrorDecoder
Source§impl Default for DefaultErrorDecoder
impl Default for DefaultErrorDecoder
Source§fn default() -> DefaultErrorDecoder
fn default() -> DefaultErrorDecoder
Returns the “default value” for a type. Read more
Source§impl ErrorDecoder for DefaultErrorDecoder
impl ErrorDecoder for DefaultErrorDecoder
impl Copy for DefaultErrorDecoder
Auto Trait Implementations§
impl Freeze for DefaultErrorDecoder
impl RefUnwindSafe for DefaultErrorDecoder
impl Send for DefaultErrorDecoder
impl Sync for DefaultErrorDecoder
impl Unpin for DefaultErrorDecoder
impl UnwindSafe for DefaultErrorDecoder
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