pub trait DependencyNode<T, E>
where T: PartialEq,
{ // Required methods fn id(&self) -> T; fn dependencies(&self) -> Result<Vec<T>, E>; }
Expand description

A node of a dependency graph.

Required Methods§

source

fn id(&self) -> T

source

fn dependencies(&self) -> Result<Vec<T>, E>

The dependencies of a node

Errors

Will return an Err if the dependencies can’t be accessed

Implementors§