Skip to main content

TestingResult

Type Alias TestingResult 

Source
pub type TestingResult<T> = Result<T, TestingError>;
Expand description

测试操作结果类型

Aliased Type§

pub enum TestingResult<T> {
    Ok(T),
    Err(TestingError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TestingError)

Contains the error value