1use std::hash::Hash; 2 3/// A unique identifier that can be used both to identify a transaction. 4pub trait TransactionId: Copy + Eq + Hash {} 5 6impl<T: Copy + Eq + Hash> TransactionId for T {}