MainResult

Type Alias MainResult 

Source
pub type MainResult = Result<()>;
Expand description

Return value for the main function.

Aliased Type§

pub enum MainResult {
    Ok(()),
    Err(Error),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Error)

Contains the error value