pub trait Sink { // Required methods fn progress(&mut self, done: u64, total: u64, fps: f64); fn end(&mut self, ok: bool); }