TrapResult

Type Alias TrapResult 

Source
pub type TrapResult<T, Call, Create> = Result<Result<T>, TrapError<Call, Create>>;

Aliased Type§

pub enum TrapResult<T, Call, Create> {
    Ok(Result<T, Error>),
    Err(TrapError<Call, Create>),
}

Variants§

§1.0.0

Ok(Result<T, Error>)

Contains the success value

§1.0.0

Err(TrapError<Call, Create>)

Contains the error value