Enum uint::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)>
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) -> Self
fn from(e: FromDecStrErr) -> Self
Converts to this type from the input type.
source§impl PartialEq<FromDecStrErr> for FromDecStrErr
impl PartialEq<FromDecStrErr> for FromDecStrErr
source§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 ==
.impl StructuralPartialEq for FromDecStrErr
Auto Trait Implementations§
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