[][src]Enum hexponent::ParseErrorKind

pub enum ParseErrorKind {
    MissingPrefix,
    MissingDigits,
    MissingExponent,
    ExponentOverflow,
    MissingEnd,
}

Kind of parsing error.

Used in ParseError

Variants

MissingPrefix

No prefix was found. Hexadecimal literals must start with a "0x" or "0X" prefix.

Example: 0.F

MissingDigits

No digits were found. Hexadecimals literals must have digits before or after the decimal point.

Example: 0x. 0x.p1

MissingExponent

Hexadecimal literals with a "p" or "P" to indicate an float must have an exponent.

Example: 0xb.0p 0x1p-

ExponentOverflow

The exponent of a hexidecimal literal must fit into a signed 32-bit integer.

Example: 0x1p3000000000

MissingEnd

The end of the literal was expected, but more bytes were found.

Example: 0x1.g

Trait Implementations

impl Clone for ParseErrorKind[src]

impl Copy for ParseErrorKind[src]

impl Debug for ParseErrorKind[src]

impl Eq for ParseErrorKind[src]

impl PartialEq<ParseErrorKind> for ParseErrorKind[src]

impl StructuralEq for ParseErrorKind[src]

impl StructuralPartialEq for ParseErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.