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

pub enum ActionResult {
    Done,
    ParentActionRequest(ContextCommandAction),
    Result(ContextCommandAction),
    Custom(Box<dyn Debug>),
}
Expand description

ActionResult stores result of action.

Variants

Done

Done shows that action is done.

ParentActionRequest(ContextCommandAction)

ParentActionRequest shows that action requested to show help.

Tuple Fields of ParentActionRequest

0: Context1: Command2: Action
Result(ContextCommandAction)

Shows return Context, reached Command and Action as result for parse and run.

Tuple Fields of Result

0: Context1: Command2: 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.