Enum ethers_rs::FromDecStrErr
pub enum FromDecStrErr {
InvalidCharacter,
InvalidLength,
}
Expand description
Conversion from decimal string error
Variants§
Trait Implementations§
§impl Debug for FromDecStrErr
impl Debug for FromDecStrErr
§impl Display for FromDecStrErr
impl Display for FromDecStrErr
§impl Error for FromDecStrErr
impl Error for FromDecStrErr
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()
§impl From<FromDecStrErr> for Error
impl From<FromDecStrErr> for Error
§fn from(err: FromDecStrErr) -> Error
fn from(err: FromDecStrErr) -> Error
Converts to this type from the input type.
§impl From<FromDecStrErr> for FromStrRadixErr
impl From<FromDecStrErr> for FromStrRadixErr
§fn from(e: FromDecStrErr) -> FromStrRadixErr
fn from(e: FromDecStrErr) -> FromStrRadixErr
Converts to this type from the input type.
§impl PartialEq<FromDecStrErr> for FromDecStrErr
impl PartialEq<FromDecStrErr> for FromDecStrErr
§fn eq(&self, other: &FromDecStrErr) -> bool
fn eq(&self, other: &FromDecStrErr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.