async_graphql

Type Alias ServerResult

source
pub type ServerResult<T> = Result<T, ServerError>;
Expand description

Alias for Result<T, ServerError>.

Aliased Type§

enum ServerResult<T> {
    Ok(T),
    Err(ServerError),
}

Variants§

§1.6.0

Ok(T)

Contains the success value

§1.6.0

Err(ServerError)

Contains the error value