Skip to main content

TestResult

Type Alias TestResult 

Source
pub type TestResult<T = ()> = Result<T, Box<dyn Error + Send + Sync>>;
Expand description

Test result type

Aliased Type§

pub enum TestResult<T = ()> {
    Ok(T),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value