pub struct ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,{
pub base_message: &'static str,
/* private fields */
}
Fields§
§base_message: &'static str
Trait 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