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) -> Self
fn from(e: FromDecStrErr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FromDecStrErr
impl PartialEq 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