1pub trait Counter<N> { 2 fn incr(&mut self, node: N, delta: u64); 3 fn decr(&mut self, node: N, delta: u64) { 4 panic!("The decrement operation is not supported 5 on the current Counter."); 6 } 7 8 fn value(&self) -> u64; 9}