#[non_exhaustive]pub enum LifecycleError {
Graph(GraphError),
UnknownEdge {
source: NodeId,
target: NodeId,
},
ConflictingNode {
node: NodeId,
},
ConflictingEdge {
source: NodeId,
target: NodeId,
},
UnsupportedEngine {
engine: EngineConfig,
},
}Expand description
Errors returned by lifecycle-specific LifecycleGraph operations.
The enum is non-exhaustive so that later lifecycle errors can be added without breaking matches.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Graph(GraphError)
A graph error shared with the plain engines: a limit, a self-loop or an unknown node.
UnknownEdge
Both endpoints are registered but the edge between them is not.
Fields
ConflictingNode
LifecycleGraph::try_from_topology received the same node twice
with different active flags.
ConflictingEdge
LifecycleGraph::try_from_topology received the same unordered
edge twice with different enabled flags.
Fields
UnsupportedEngine
Lifecycle support is not available for this engine. In v0.5.0 only
EngineConfig::CompactBfs is supported; ett and hdt lifecycle
support is deferred. No graph is created and no engine is substituted.
Fields
engine: EngineConfigThe requested engine.
Trait Implementations§
Source§impl Clone for LifecycleError
impl Clone for LifecycleError
impl Copy for LifecycleError
Source§impl Debug for LifecycleError
impl Debug for LifecycleError
Source§impl Display for LifecycleError
impl Display for LifecycleError
impl Eq for LifecycleError
Source§impl Error for LifecycleError
impl Error for LifecycleError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()