Struct drt_sc_codec::PanicErrorHandler 
source · pub struct PanicErrorHandler;Expand description
An error handler that panics immediately, instead of returning a Result.
Trait Implementations§
source§impl Clone for PanicErrorHandler
 
impl Clone for PanicErrorHandler
source§fn clone(&self) -> PanicErrorHandler
 
fn clone(&self) -> PanicErrorHandler
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 PanicErrorHandler
 
impl DecodeErrorHandler for PanicErrorHandler
type HandledErr = Infallible
fn handle_error(&self, err: DecodeError) -> Self::HandledErr
source§impl EncodeErrorHandler for PanicErrorHandler
 
impl EncodeErrorHandler for PanicErrorHandler
type HandledErr = Infallible
fn handle_error(&self, err: EncodeError) -> Self::HandledErr
impl Copy for PanicErrorHandler
Auto Trait Implementations§
impl Freeze for PanicErrorHandler
impl RefUnwindSafe for PanicErrorHandler
impl Send for PanicErrorHandler
impl Sync for PanicErrorHandler
impl Unpin for PanicErrorHandler
impl UnwindSafe for PanicErrorHandler
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)