Enum ethereum_types::FromDecStrErr
source · pub enum FromDecStrErr {
InvalidCharacter,
InvalidLength,
}
Expand description
Conversion from decimal string error
Variants§
Trait Implementations§
source§impl Debug for FromDecStrErr
impl Debug for FromDecStrErr
source§impl Display for FromDecStrErr
impl Display for FromDecStrErr
source§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)>
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 PartialEq for FromDecStrErr
impl PartialEq for FromDecStrErr
impl Eq for FromDecStrErr
impl StructuralPartialEq for FromDecStrErr
Auto Trait Implementations§
impl Freeze for FromDecStrErr
impl RefUnwindSafe for FromDecStrErr
impl Send for FromDecStrErr
impl Sync for FromDecStrErr
impl Unpin for FromDecStrErr
impl UnwindSafe for FromDecStrErr
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