pub enum NumErrorKind {
NaN,
Overflow,
InvalidDigit,
}Variants§
NaN
The literal describes f64::NAN
Overflow
Some integer appearing in the literal overflows usize
InvalidDigit
A character that isn’t a digit in the given base was found
Trait Implementations§
Source§impl Clone for NumErrorKind
impl Clone for NumErrorKind
Source§impl Debug for NumErrorKind
impl Debug for NumErrorKind
impl Eq for NumErrorKind
Source§impl PartialEq for NumErrorKind
impl PartialEq for NumErrorKind
impl StructuralPartialEq for NumErrorKind
Auto Trait Implementations§
impl Freeze for NumErrorKind
impl RefUnwindSafe for NumErrorKind
impl Send for NumErrorKind
impl Sync for NumErrorKind
impl Unpin for NumErrorKind
impl UnsafeUnpin for NumErrorKind
impl UnwindSafe for NumErrorKind
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
impl<_INNER> CPSPayload for _INNER
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more