pub trait TPS { // Required methods fn tps(&self, total: u64); fn time(&self, total: u64); fn cost(&self); }