#[non_exhaustive]pub enum GraphValidationError {
CycleDetected,
UnknownNode(String),
MissingPrimitive {
id: String,
version: String,
},
InvalidEdgeKind {
from: PrimitiveKind,
to: PrimitiveKind,
},
MissingRequiredInput {
node: String,
input: String,
},
MissingInputMetadata {
node: String,
input: String,
},
TypeMismatch {
from: String,
output: String,
to: String,
input: String,
expected: ValueType,
got: ValueType,
},
ActionNotGated(String),
MissingOutputMetadata {
node: String,
output: String,
},
ExternalInputNotAllowed {
name: String,
},
MultipleInboundEdges {
node: String,
input: String,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CycleDetected
UnknownNode(String)
MissingPrimitive
InvalidEdgeKind
MissingRequiredInput
MissingInputMetadata
TypeMismatch
ActionNotGated(String)
MissingOutputMetadata
ExternalInputNotAllowed
MultipleInboundEdges
V.MULTI-EDGE: Multiple edges targeting the same input port. All inputs currently have Cardinality::Single; fan-in is not supported.
Trait Implementations§
Source§impl Debug for GraphValidationError
impl Debug for GraphValidationError
Source§impl ErrorInfo for GraphValidationError
impl ErrorInfo for GraphValidationError
Auto Trait Implementations§
impl Freeze for GraphValidationError
impl RefUnwindSafe for GraphValidationError
impl Send for GraphValidationError
impl Sync for GraphValidationError
impl Unpin for GraphValidationError
impl UnsafeUnpin for GraphValidationError
impl UnwindSafe for GraphValidationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more