Type Alias EnvResult

Source
pub type EnvResult = Result<Box<dyn Environment>, &'static str>;

Aliased Type§

pub enum EnvResult {
    Ok(Box<dyn Environment>),
    Err(&'static str),
}

Variants§

§1.0.0

Ok(Box<dyn Environment>)

Contains the success value

§1.0.0

Err(&'static str)

Contains the error value