[go: up one dir, main page]

MainResult

Type Alias MainResult 

Source
pub type MainResult = TopLevelResult;
Expand description

A variant of Result for main functions that return a trackable error on failure.

Aliased Type§

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

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(TopLevelError)

Contains the error value