Skip to main content

GatewayResult

Type Alias GatewayResult 

Source
pub type GatewayResult = Result<GatewayResponse, GatewayError>;
Expand description

A generic Result type for gateway operations.

Aliased Type§

pub enum GatewayResult {
    Ok(Response<UnsyncBoxBody<Bytes, GatewayError>>),
    Err(GatewayError),
}

Variants§

§1.0.0

Ok(Response<UnsyncBoxBody<Bytes, GatewayError>>)

Contains the success value

§1.0.0

Err(GatewayError)

Contains the error value