[][src]Enum go_flag::FlagParseError

pub enum FlagParseError {
    BoolParseError,
    IntegerParseError,
    StringParseError,
}

Common errors for flag argument parsing.

Variants

BoolParseError

Invalid bool. E.g. yes

IntegerParseError

Invalid integer. E.g. 100XYZ

StringParseError

Invalid string. Invalid UTF-8 in unix-like platform or invalid UTF-16 in Windows.

Trait Implementations

impl Debug for FlagParseError[src]

impl Display for FlagParseError[src]

impl Error for FlagParseError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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