pub fn check(p: &dyn Progress) -> Result<()>
Fails with cancelled once the sink asks the command to stop.
cancelled
When p.cancelled() is true.
p.cancelled()