Trait kad::common::id::DatabaseId [−][src]
pub trait DatabaseId: Hash + Default + PartialEq + Eq + Ord + Clone + Send + Debug { fn xor(a: &Self, b: &Self) -> Self; fn bits(&self) -> usize; fn is_zero(&self) -> bool; fn max_bits(&self) -> usize; }
Expand description
Id trait must be implemented for viable id types