Enum combu::action::ActionResult[][src]

pub enum ActionResult {
    Done,
    ShowHelpRequest(Context),
    ShowOtherHelpReq(ContextusizeVector<String>),
    Result(ContextAction),
    Custom(Box<dyn Debug>),
}
Expand description

ActionResult stores result of action.

Variants

Done

Done shows that action is done.

ShowHelpRequest(Context)

ShowHelpRequest shows that action requested to show help.

Tuple Fields of ShowHelpRequest

0: Context
ShowOtherHelpReq(ContextusizeVector<String>)

ShowHelpReq shows that action requested to show relative’s help.

Tuple Fields of ShowOtherHelpReq

0: Context1: usize2: Vector<String>
Result(ContextAction)

Shows return Context and Action as result for parse and run.

Tuple Fields of Result

0: Context1: Action
Custom(Box<dyn Debug>)

Custom result(can have Box including dyn Debug).

Tuple Fields of Custom

0: Box<dyn Debug>

Implementations

Returns true if self is done.

Trait Implementations

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.