Skip to main content

Projected

Type Alias Projected 

Source
pub type Projected = Result<Command, Error>;
Expand description

What every action handler produces. Projection can still fail — an endpoint that is neither on argv nor in the environment, an integer outside its domain range — and those are argument errors, not run failures.

Aliased Type§

pub enum Projected {
    Ok(Command),
    Err(Error),
}

Variants§

§1.0.0

Ok(Command)

Contains the success value

§1.0.0

Err(Error)

Contains the error value