pub enum DecodeErrorError {
AbiDecodeFailed {
reason: String,
},
InvalidData {
reason: String,
},
UnsupportedChain {
chain: String,
},
RegistryError {
reason: String,
},
Other(String),
}Expand description
Errors that can occur during error decoding.
Variants§
Trait Implementations§
Source§impl Debug for DecodeErrorError
impl Debug for DecodeErrorError
Source§impl Display for DecodeErrorError
impl Display for DecodeErrorError
Source§impl Error for DecodeErrorError
impl Error for DecodeErrorError
1.30.0 · 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 DecodeErrorError
impl RefUnwindSafe for DecodeErrorError
impl Send for DecodeErrorError
impl Sync for DecodeErrorError
impl Unpin for DecodeErrorError
impl UnsafeUnpin for DecodeErrorError
impl UnwindSafe for DecodeErrorError
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