daglib 0.1.0

Generic async DAG library
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum Error<Id>
where
    Id: crate::NodeId,
{
    #[error("Node not found: {:?}", .0)]
    NodeNotFound(Id),

    #[error("Node does not have HEAD as parent")]
    HeadNotAParent,
}