pub enum CodecError {
Decode(SerializationError),
Encode(SerializationError),
}
Expand description
Module encode/decode error.
Variants§
Decode(SerializationError)
The wasm bytecode is failed to be decoded
Encode(SerializationError)
Failed to encode instrumented program
Trait Implementations§
Source§impl Debug for CodecError
impl Debug for CodecError
Source§impl Display for CodecError
impl Display for CodecError
Source§impl From<CodecError> for CodeError
impl From<CodecError> for CodeError
Source§fn from(original: CodecError) -> CodeError
fn from(original: CodecError) -> CodeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodecError
impl RefUnwindSafe for CodecError
impl Send for CodecError
impl Sync for CodecError
impl Unpin for CodecError
impl UnwindSafe for CodecError
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