pub enum DecodeCalldataError {
FieldNotFound(String, usize),
Conversion(String, usize),
UnexpectedLength(u64, u64),
}Variants§
Trait Implementations§
Source§impl Debug for DecodeCalldataError
impl Debug for DecodeCalldataError
Source§impl Display for DecodeCalldataError
impl Display for DecodeCalldataError
Source§impl Error for DecodeCalldataError
impl Error for DecodeCalldataError
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 DecodeCalldataError
impl RefUnwindSafe for DecodeCalldataError
impl Send for DecodeCalldataError
impl Sync for DecodeCalldataError
impl Unpin for DecodeCalldataError
impl UnwindSafe for DecodeCalldataError
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