pub struct DefaultErrorHandler;
Expand description
The simplest error handler, it simply passes the error on.
Trait Implementations§
Source§impl Clone for DefaultErrorHandler
impl Clone for DefaultErrorHandler
Source§fn clone(&self) -> DefaultErrorHandler
fn clone(&self) -> DefaultErrorHandler
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 DecodeErrorHandler for DefaultErrorHandler
impl DecodeErrorHandler for DefaultErrorHandler
type HandledErr = DecodeError
fn handle_error(&self, err: DecodeError) -> Self::HandledErr
Source§impl EncodeErrorHandler for DefaultErrorHandler
impl EncodeErrorHandler for DefaultErrorHandler
type HandledErr = EncodeError
fn handle_error(&self, err: EncodeError) -> Self::HandledErr
impl Copy for DefaultErrorHandler
Auto Trait Implementations§
impl Freeze for DefaultErrorHandler
impl RefUnwindSafe for DefaultErrorHandler
impl Send for DefaultErrorHandler
impl Sync for DefaultErrorHandler
impl Unpin for DefaultErrorHandler
impl UnwindSafe for DefaultErrorHandler
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