Enum bn_rs::BigNumberError
source · pub enum BigNumberError {
Std(ParseIntError),
PrimitiveUint(FromStrRadixErr),
PrimitiveHash(FromHexError),
}
Variants
Trait Implementations
sourceimpl Debug for BigNumberError
impl Debug for BigNumberError
sourceimpl Display for BigNumberError
impl Display for BigNumberError
sourceimpl Error for BigNumberError
impl Error for BigNumberError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<BigNumberError> for JsValue
impl From<BigNumberError> for JsValue
sourcefn from(err: BigNumberError) -> Self
fn from(err: BigNumberError) -> Self
Converts to this type from the input type.
sourceimpl From<FromHexError> for BigNumberError
impl From<FromHexError> for BigNumberError
sourcefn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
sourceimpl From<FromStrRadixErr> for BigNumberError
impl From<FromStrRadixErr> for BigNumberError
sourcefn from(source: FromStrRadixErr) -> Self
fn from(source: FromStrRadixErr) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIntError> for BigNumberError
impl From<ParseIntError> for BigNumberError
sourcefn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BigNumberError
impl Send for BigNumberError
impl Sync for BigNumberError
impl Unpin for BigNumberError
impl UnwindSafe for BigNumberError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more