Type Alias modalkit::env::vim::command::CommandResult

source ·
pub type CommandResult<I> = Result<CommandStep<VimCommand<I>>, CommandError>;
Expand description

Result type for a processed command.

Aliased Type§

enum CommandResult<I> {
    Ok(CommandStep<VimCommand<I>>),
    Err(CommandError),
}

Variants§

§1.0.0

Ok(CommandStep<VimCommand<I>>)

Contains the success value

§1.0.0

Err(CommandError)

Contains the error value