pub type StashCb<'a> = dyn FnMut(usize, &str, &Oid) -> bool + 'a;
This is a callback function you can provide to iterate over all the stashed states that will be invoked per entry.