Type Alias 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>

Source§

type O = O

Source§

fn exit(self)

Source§

fn exit_if_err(self) -> Self::O

Source§

fn exit_silently(self)