ResultTest

Type Alias ResultTest 

Source
pub type ResultTest<T> = Result<T, TestError>;
Expand description

A wrapper for using Result in tests, so it display nicely

Aliased Type§

pub enum ResultTest<T> {
    Ok(T),
    Err(TestError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TestError)

Contains the error value