Type Alias juniper::executor::FieldResult

source ·
pub type FieldResult<T, S = DefaultScalarValue> = Result<T, FieldError<S>>;
Expand description

The result of resolving the value of a field of type T

Aliased Type§

enum FieldResult<T, S = DefaultScalarValue> {
    Ok(T),
    Err(FieldError<S>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(FieldError<S>)

Contains the error value