pub enum ReproducibleWasmCodecError {
Poisoned {
codec_id: Arc<str>,
},
Runtime {
codec_id: Arc<str>,
source: RuntimeError,
},
Codec {
codec_id: Arc<str>,
source: CodecError,
},
}
Expand description
Errors that can occur when using the ReproducibleWasmCodec
Variants§
Poisoned
The codec’s lock was poisoned
Runtime
The codec’s WebAssembly runtime raised an error
Codec
The codec’s implementation raised an error
Trait Implementations§
Source§impl Debug for ReproducibleWasmCodecError
impl Debug for ReproducibleWasmCodecError
Source§impl Display for ReproducibleWasmCodecError
impl Display for ReproducibleWasmCodecError
Source§impl Error for ReproducibleWasmCodecError
impl Error for ReproducibleWasmCodecError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ReproducibleWasmCodecError
impl RefUnwindSafe for ReproducibleWasmCodecError
impl Send for ReproducibleWasmCodecError
impl Sync for ReproducibleWasmCodecError
impl Unpin for ReproducibleWasmCodecError
impl UnwindSafe for ReproducibleWasmCodecError
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