Type Alias cli_rs::cli_error::CliResult

source ·
pub type CliResult<T> = Result<T, CliError>;

Aliased Type§

enum CliResult<T> {
    Ok(T),
    Err(CliError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CliError)

Contains the error value

Trait Implementations§

source§

impl<O> Exit for CliResult<O>

§

type O = O

source§

fn exit(self)

source§

fn exit_if_err(self) -> Self::O

source§

fn exit_silently(self)