pub trait Aggregatable { type Aggregate; // Required method fn aggregate(&self, threshold: usize) -> Self::Aggregate; }