Type Alias 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§

pub enum SchemaError<NK, EK, S> {
Show 26 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, InvalidSchemaName(String, String), UnrecognizedNodeType(String, Vec<<<S as SchemaExt<NK, EK>>::N as Typed>::Type>), UnrecognizedEdgeType(String, Vec<<<S as SchemaExt<NK, EK>>::E as Typed>::Type>), InvalidSchemaVersion(String, String), 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), SerdeJsonError(Error), UpgradeError(UpgradeError), Io(Error), Infallible(Infallible),
}

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

§

InvalidSchemaName(String, String)

§

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

§

UnrecognizedEdgeType(String, Vec<<<S as SchemaExt<NK, EK>>::E as Typed>::Type>)

§

InvalidSchemaVersion(String, String)

§

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)

§

SerdeJsonError(Error)

§

UpgradeError(UpgradeError)

§

Io(Error)

§

Infallible(Infallible)