pub struct ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,{
pub base_message: &'static str,
/* private fields */
}Fields§
§base_message: &'static strTrait Implementations§
source§impl<M> Clone for ExitCodecErrorHandler<M>
impl<M> Clone for ExitCodecErrorHandler<M>
source§fn clone(&self) -> ExitCodecErrorHandler<M>
fn clone(&self) -> ExitCodecErrorHandler<M>
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<M> DecodeErrorHandler for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> DecodeErrorHandler for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
type HandledErr = Infallible
fn handle_error(&self, err: DecodeError) -> Self::HandledErr
source§impl<M> EncodeErrorHandler for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> EncodeErrorHandler for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
type HandledErr = Infallible
fn handle_error(&self, err: EncodeError) -> Self::HandledErr
source§impl<M> From<&'static str> for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> From<&'static str> for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> Copy for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
Auto Trait Implementations§
impl<M> Freeze for ExitCodecErrorHandler<M>
impl<M> RefUnwindSafe for ExitCodecErrorHandler<M>where
M: RefUnwindSafe,
impl<M> Send for ExitCodecErrorHandler<M>where
M: Send,
impl<M> Sync for ExitCodecErrorHandler<M>where
M: Sync,
impl<M> Unpin for ExitCodecErrorHandler<M>where
M: Unpin,
impl<M> UnwindSafe for ExitCodecErrorHandler<M>where
M: UnwindSafe,
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)