pub enum GraphIssue {
CycleDetected {
description: String,
},
DisconnectedInput {
node_label: String,
},
DisconnectedOutput {
node_label: String,
},
IncompatibleFormat {
from_label: String,
to_label: String,
},
MissingResource {
node_label: String,
resource: String,
},
Warning {
message: String,
},
}Expand description
A single issue found during graph validation.
Variants§
CycleDetected
A directed cycle exists; the graph cannot be processed in order.
DisconnectedInput
A node has no incoming connections when at least one is required.
DisconnectedOutput
A node has no outgoing connections when at least one is required.
IncompatibleFormat
Two adjacent nodes have incompatible formats / types.
Fields
MissingResource
A node references a resource that does not exist.
Fields
Warning
Informational warning; does not block execution.
Implementations§
Trait Implementations§
Source§impl Clone for GraphIssue
impl Clone for GraphIssue
Source§fn clone(&self) -> GraphIssue
fn clone(&self) -> GraphIssue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphIssue
impl Debug for GraphIssue
impl Eq for GraphIssue
Source§impl PartialEq for GraphIssue
impl PartialEq for GraphIssue
Source§fn eq(&self, other: &GraphIssue) -> bool
fn eq(&self, other: &GraphIssue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphIssue
Auto Trait Implementations§
impl Freeze for GraphIssue
impl RefUnwindSafe for GraphIssue
impl Send for GraphIssue
impl Sync for GraphIssue
impl Unpin for GraphIssue
impl UnsafeUnpin for GraphIssue
impl UnwindSafe for GraphIssue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more