Type Alias typed_graph::SchemaError

source ·
pub type SchemaError<NK, EK, S> = TypedError<NK, EK, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, <<S as SchemaExt<NK, EK>>::E as Typed>::Type>;

Aliased Type§

enum SchemaError<NK, EK, S> {
Show 18 variants NodeKeyRemoved(NK), EdgeKeyRemoved(EK), NodeIdCollision(NK), EdgeIdCollision(EK), NodeIdMissing(NK), EdgeIdMissing(EK), MissingNode(NK), MissingEdge(EK), InvalidEdgeType(<<S as SchemaExt<NK, EK>>::E as Typed>::Type, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, DisAllowedEdge), InvalidNodeType(<<S as SchemaExt<NK, EK>>::N as Typed>::Type, DisAllowedNode), InvalidInternalState, DownCastFailed(String, String), InconsistentNodeIds(NK, NK), InconsistentEdgeIds(EK, EK), MissingNodeKey(NodeKey), MissingEdgeKey(EdgeKey), InvalidEdgeMove(EK, EK), InvalidLowerBound(NK, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, String),
}

Variants§

§

NodeKeyRemoved(NK)

§

EdgeKeyRemoved(EK)

§

NodeIdCollision(NK)

§

EdgeIdCollision(EK)

§

NodeIdMissing(NK)

§

EdgeIdMissing(EK)

§

MissingNode(NK)

§

MissingEdge(EK)

§

InvalidEdgeType(<<S as SchemaExt<NK, EK>>::E as Typed>::Type, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, DisAllowedEdge)

§

InvalidNodeType(<<S as SchemaExt<NK, EK>>::N as Typed>::Type, DisAllowedNode)

§

InvalidInternalState

§

DownCastFailed(String, String)

§

InconsistentNodeIds(NK, NK)

§

InconsistentEdgeIds(EK, EK)

§

MissingNodeKey(NodeKey)

§

MissingEdgeKey(EdgeKey)

§

InvalidEdgeMove(EK, EK)

§

InvalidLowerBound(NK, <<S as SchemaExt<NK, EK>>::N as Typed>::Type, String)