Struct ethereum_types::FromStrRadixErr
source · [−]pub struct FromStrRadixErr { /* private fields */ }
Expand description
The error type for parsing numbers from strings.
Implementations
sourceimpl FromStrRadixErr
impl FromStrRadixErr
sourcepub fn kind(&self) -> FromStrRadixErrKind
pub fn kind(&self) -> FromStrRadixErrKind
Returns the corresponding FromStrRadixErrKind
for this error.
Trait Implementations
sourceimpl Debug for FromStrRadixErr
impl Debug for FromStrRadixErr
sourceimpl Display for FromStrRadixErr
impl Display for FromStrRadixErr
sourceimpl Error for FromStrRadixErr
impl Error for FromStrRadixErr
sourcepub fn source(&self) -> Option<&(dyn Error + 'static)>
pub fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. 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<FromDecStrErr> for FromStrRadixErr
impl From<FromDecStrErr> for FromStrRadixErr
sourcepub fn from(e: FromDecStrErr) -> FromStrRadixErr
pub fn from(e: FromDecStrErr) -> FromStrRadixErr
Performs the conversion.
sourceimpl From<FromHexError> for FromStrRadixErr
impl From<FromHexError> for FromStrRadixErr
sourcepub fn from(e: FromHexError) -> FromStrRadixErr
pub fn from(e: FromHexError) -> FromStrRadixErr
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FromStrRadixErr
impl Send for FromStrRadixErr
impl Sync for FromStrRadixErr
impl Unpin for FromStrRadixErr
impl UnwindSafe for FromStrRadixErr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more