pub enum BigNumberError {
Std(ParseIntError),
PrimitiveUint(FromStrRadixErr),
PrimitiveHash(FromHexError),
}
Variants§
Trait Implementations§
Source§impl Debug for BigNumberError
impl Debug for BigNumberError
Source§impl Display for BigNumberError
impl Display for BigNumberError
Source§impl Error for BigNumberError
impl Error for BigNumberError
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()
Source§impl From<BigNumberError> for JsValue
impl From<BigNumberError> for JsValue
Source§fn from(err: BigNumberError) -> Self
fn from(err: BigNumberError) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for BigNumberError
impl From<FromHexError> for BigNumberError
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<FromStrRadixErr> for BigNumberError
impl From<FromStrRadixErr> for BigNumberError
Source§fn from(source: FromStrRadixErr) -> Self
fn from(source: FromStrRadixErr) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for BigNumberError
impl From<ParseIntError> for BigNumberError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BigNumberError
impl RefUnwindSafe for BigNumberError
impl Send for BigNumberError
impl Sync for BigNumberError
impl Unpin for BigNumberError
impl UnwindSafe for BigNumberError
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