Enum ethcontract::errors::ParseI256Error
source · pub enum ParseI256Error {
InvalidDigit,
IntegerOverflow,
}Expand description
The error type that is returned when parsing a 256-bit signed integer.
Variants§
InvalidDigit
Error that occurs when an invalid digit is encountered while parsing.
IntegerOverflow
Error that occurs when the number is too large or too small (negative) and does not fit in a 256-bit signed integer.
Trait Implementations§
source§impl Clone for ParseI256Error
impl Clone for ParseI256Error
source§fn clone(&self) -> ParseI256Error
fn clone(&self) -> ParseI256Error
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ParseI256Error
impl Debug for ParseI256Error
source§impl Display for ParseI256Error
impl Display for ParseI256Error
source§impl Error for ParseI256Error
impl Error for ParseI256Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<FromDecStrErr> for ParseI256Error
impl From<FromDecStrErr> for ParseI256Error
source§fn from(err: FromDecStrErr) -> Self
fn from(err: FromDecStrErr) -> Self
Converts to this type from the input type.
impl Copy for ParseI256Error
Auto Trait Implementations§
impl Freeze for ParseI256Error
impl RefUnwindSafe for ParseI256Error
impl Send for ParseI256Error
impl Sync for ParseI256Error
impl Unpin for ParseI256Error
impl UnwindSafe for ParseI256Error
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