Skip to main content

SimResult

Type Alias SimResult 

Source
pub type SimResult<Ok = ()> = Result<Ok, Error>;
Expand description

Type-alias for the general result-type for functions and structures of the simulation library.

Aliased Type§

pub enum SimResult<Ok = ()> {
    Ok(Ok),
    Err(Error),
}

Variants§

§1.0.0

Ok(Ok)

Contains the success value

§1.0.0

Err(Error)

Contains the error value