pub enum EffectGraphError {
UnsupportedVersion(u16),
EmptyGraph,
TooManyOperations,
TooManyDependencies,
TooManyEdges,
DuplicateOperation(u64),
UnknownOperation(u64),
DuplicateDependency {
operation_sequence: u64,
dependency: u64,
},
MissingDependency {
operation_sequence: u64,
dependency: u64,
},
Cycle,
}Expand description
Typed declared graph identity, dependency or resource-bound rejection.
Variants§
UnsupportedVersion(u16)
Only protocol generation v1 is maintained.
EmptyGraph
At least one exact operation must be declared.
TooManyOperations
Node count exceeds its maintained bound.
TooManyDependencies
One operation declares too many direct dependencies.
TooManyEdges
Total graph dependencies exceed the maintained bound.
DuplicateOperation(u64)
An exact operation was declared more than once.
UnknownOperation(u64)
A requested exact operation is absent.
DuplicateDependency
A dependency identity appears more than once in one operation.
Fields
MissingDependency
An edge references an absent exact operation.
Fields
Cycle
Dependencies include a self-loop or longer cycle.
Trait Implementations§
Source§impl Debug for EffectGraphError
impl Debug for EffectGraphError
Source§impl Display for EffectGraphError
impl Display for EffectGraphError
Source§impl Error for EffectGraphError
impl Error for EffectGraphError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<EffectGraphError> for EffectOrderError
impl From<EffectGraphError> for EffectOrderError
Source§fn from(source: EffectGraphError) -> Self
fn from(source: EffectGraphError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EffectGraphError
impl RefUnwindSafe for EffectGraphError
impl Send for EffectGraphError
impl Sync for EffectGraphError
impl Unpin for EffectGraphError
impl UnsafeUnpin for EffectGraphError
impl UnwindSafe for EffectGraphError
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