TangoResult

Type Alias TangoResult 

Source
pub type TangoResult<R> = Result<R, TangoError>;
Expand description

Convenience alias for a Result from Tango APIs.

Aliased Type§

pub enum TangoResult<R> {
    Ok(R),
    Err(TangoError),
}

Variants§

§1.0.0

Ok(R)

Contains the success value

§1.0.0

Err(TangoError)

Contains the error value