simplifications for verification reporter

This commit is contained in:
2023-07-05 17:24:53 +02:00
parent 831cb46059
commit bc65cae3ec
5 changed files with 113 additions and 193 deletions

View File

@ -46,6 +46,14 @@ pub struct SeqCountProviderSimple {
seq_count: Cell<u16>,
}
impl SeqCountProviderSimple {
pub fn new() -> Self {
Self {
seq_count: Cell::new(0),
}
}
}
impl SequenceCountProviderCore<u16> for SeqCountProviderSimple {
fn get(&self) -> u16 {
self.seq_count.get()