Struct ethereum_types::FromStrRadixErr
source · pub struct FromStrRadixErr { /* private fields */ }
Expand description
The error type for parsing numbers from strings.
Implementations§
source§impl FromStrRadixErr
impl FromStrRadixErr
sourcepub fn kind(&self) -> FromStrRadixErrKind
pub fn kind(&self) -> FromStrRadixErrKind
Returns the corresponding FromStrRadixErrKind
for this error.
Trait Implementations§
source§impl Debug for FromStrRadixErr
impl Debug for FromStrRadixErr
source§impl Display for FromStrRadixErr
impl Display for FromStrRadixErr
source§impl Error for FromStrRadixErr
impl Error for FromStrRadixErr
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<FromDecStrErr> for FromStrRadixErr
impl From<FromDecStrErr> for FromStrRadixErr
source§fn from(e: FromDecStrErr) -> FromStrRadixErr
fn from(e: FromDecStrErr) -> FromStrRadixErr
Converts to this type from the input type.
source§impl From<FromHexError> for FromStrRadixErr
impl From<FromHexError> for FromStrRadixErr
source§fn from(e: FromHexError) -> FromStrRadixErr
fn from(e: FromHexError) -> FromStrRadixErr
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromStrRadixErr
impl RefUnwindSafe for FromStrRadixErr
impl Send for FromStrRadixErr
impl Sync for FromStrRadixErr
impl Unpin for FromStrRadixErr
impl UnwindSafe for FromStrRadixErr
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