pub struct LiteralExecutor<A, C, S> { /* private fields */ }
Expand description

Type returned when calling build_exec or build_propagate on a LiteralArgument.

Trait Implementations

Usage that is returned.
Return a new SingleUsage, this represents the path from the root up until this parser. Read more
Where the magic happens! This is what ends up extracting type A from the raw string input. Read more
The returned MultipleUsage iterator.
Return a new MultipleUsage based on self (without consuming self).
Attach this parser to a HelpArgument and a description, the help name will be the usage returned by the root parser. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.