Type Alias async_graphql::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.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ServerError)

Contains the error value