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
§impl<T> IntoAnyhow for T
impl<T> IntoAnyhow for T
§fn into_anyhow(self) -> Error
fn into_anyhow(self) -> Error
Converts
self into an anyhow::Error.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more