Skip to main content

MockResult

Type Alias MockResult 

Source
type MockResult<T> = Option<Result<T, String>>;

Aliased Type§

enum MockResult<T> {
    None,
    Some(Result<T, String>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Result<T, String>)

Some value of type T.