prio_graph/
top_level_id.rs

1use crate::TransactionId;
2
3/// A top-level ID that should contain the unique `Id`, but can be priority ordered.
4pub trait TopLevelId<Id: TransactionId>: Eq + PartialEq + Ord + PartialOrd {
5    fn id(&self) -> Id;
6}