Enum dependency_graph::Step[][src]

pub enum Step<'a, N: Node> {
    Resolved(&'a N),
    Unresolved(&'a N::DependencyType),
}
Expand description

Wrapper around dependency graph nodes. Since a graph might have dependencies that cannot be resolved internally, this wrapper is necessary to differentiate between internally resolved and externally (unresolved) dependencies. An Unresolved dependency does not necessarily mean that it cannot be resolved, only that no Node within the graph fulfills it.

Variants

Resolved(&'a N)

Tuple Fields of Resolved

0: &'a N
Unresolved(&'a N::DependencyType)

Tuple Fields of Unresolved

0: &'a N::DependencyType

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.