Trait cli_rs::cli_error::Exit

source ·
pub trait Exit {
    type O;

    // Required methods
    fn exit(self);
    fn exit_if_err(self) -> Self::O;
}

Required Associated Types§

source

type O

Required Methods§

source

fn exit(self)

source

fn exit_if_err(self) -> Self::O

Implementors§

source§

impl<O> Exit for CliResult<O>

§

type O = O