pub struct ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,{
pub base_message: &'static [u8],
/* private fields */
}Fields§
§base_message: &'static [u8]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 = !
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 = !
fn handle_error(&self, err: EncodeError) -> Self::HandledErr
source§impl<M> From<&'static [u8]> for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> From<&'static [u8]> for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> Copy for ExitCodecErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
Auto Trait Implementations§
impl<M> CodecFromSelf for ExitCodecErrorHandler<M>where
M: CodecFromSelf,
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