pub trait Checksum { // Required methods fn reset(&mut self); fn update(&mut self, v: u8); fn get_value(&self) -> i64; }