Type Alias typed_graph::SchemaResult

source ·
pub type SchemaResult<T, NK, EK, S> = Result<T, SchemaError<NK, EK, S>>;
Expand description

Helper type for errors.

Aliased Type§

enum SchemaResult<T, NK, EK, S> {
    Ok(T),
    Err(TypedError<NK, EK, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, <<S as SchemaExt<NK, EK>>::E as Typed>::Type>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TypedError<NK, EK, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, <<S as SchemaExt<NK, EK>>::E as Typed>::Type>)

Contains the error value