Enum choices::error::ChoicesError[][src]

pub enum ChoicesError {
    ParseError(String),
    Utf8Error(Utf8Error),
    FromUtf8Error(FromUtf8Error),
    TryFromSliceError(usizeusize),
    ParseIntError(ParseIntError),
    ParseFloatError(ParseFloatError),
    ParseBoolError(ParseBoolError),
    ParseCharError(ParseCharError),
    ValidationError(String),
}

Error type for all kind of errors generated by choices.

Variants

ParseError(String)

Generic parsing error.

Utf8Error(Utf8Error)

Error when attempting to interpret a sequence of u8 as a string.

FromUtf8Error(FromUtf8Error)

Error when converting a String from a UTF-8 byte vector.

TryFromSliceError(usizeusize)

Error when a conversion from slice to array fails.

ParseIntError(ParseIntError)

Error when parsing an integer.

ParseFloatError(ParseFloatError)

Error when parsing a float.

ParseBoolError(ParseBoolError)

Error when parsing a bool.

ParseCharError(ParseCharError)

Error when parsing a char.

ValidationError(String)

Error when validating a field.

Trait Implementations

impl Clone for ChoicesError[src]

impl Debug for ChoicesError[src]

impl Display for ChoicesError[src]

impl Error for ChoicesError[src]

impl From<FromUtf8Error> for ChoicesError[src]

impl From<ParseBoolError> for ChoicesError[src]

impl From<ParseCharError> for ChoicesError[src]

impl From<ParseFloatError> for ChoicesError[src]

impl From<ParseIntError> for ChoicesError[src]

impl From<Utf8Error> for ChoicesError[src]

impl PartialEq<ChoicesError> for ChoicesError[src]

impl StructuralPartialEq for ChoicesError[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,