[][src]Enum custom_codes::Cli

pub enum Cli {
    ParseInProgress,
    ParseArgs,
    ArgFieldParseInPorgress,
    ParsedArgField,
    ParseAsync,
    ArgFieldAsyncParseInPorgress,
    NotEnoughArgs,
    EncounteredErrors(String),
}

Command Line Options

Examples

let foo = Cli::ParseInProgress;
assert_eq!(foo, Cli::ParseInProgress);

Variants

ParseInProgress

Parsing

ParseArgs

Parsed Arguments

ArgFieldParseInPorgress

Parsing Argument field in progress

ParsedArgField

Parsed Argument field

ParseAsync

Parsing Asynchronously

ArgFieldAsyncParseInPorgress

Parsing field Asynchronously

NotEnoughArgs

Not enough commandline arguments

EncounteredErrors(String)

Encountered parsing errors

Trait Implementations

impl Clone for Cli[src]

impl Debug for Cli[src]

impl<'de> Deserialize<'de> for Cli[src]

impl Eq for Cli[src]

impl PartialEq<Cli> for Cli[src]

impl Serialize for Cli[src]

impl StructuralEq for Cli[src]

impl StructuralPartialEq for Cli[src]

Auto Trait Implementations

impl RefUnwindSafe for Cli

impl Send for Cli

impl Sync for Cli

impl Unpin for Cli

impl UnwindSafe for Cli

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.