Type Alias IntrospectionResult

Source
pub type IntrospectionResult = Result<Vec<IntrospectionResponse>, IntrospectionError>;
Expand description

The type returned when invoking batch_introspect

A global introspect error would be raised here, often meaning the sdl is invalid. A successful call to batch_introspect doesn’t mean each query succeeded, refer to IntrospectionResponse to make sure each query ran successfully.

Aliased Type§

pub enum IntrospectionResult {
    Ok(Vec<IntrospectionResponse>),
    Err(IntrospectionError),
}

Variants§

§1.0.0

Ok(Vec<IntrospectionResponse>)

Contains the success value

§1.0.0

Err(IntrospectionError)

Contains the error value