pub trait Callback { // Required methods fn call(&mut self, vn: ViterbiNode); fn is_empty(&self) -> bool; }