(self, control: &ControlToken<Self::Status>)
| 67 | type Status = (); |
| 68 | |
| 69 | fn run(self, control: &ControlToken<Self::Status>) -> Self::Output { |
| 70 | for file in &self.files_in { |
| 71 | if control.is_cancelled_with_pause() { |
| 72 | break; |
| 73 | } |
| 74 | |
| 75 | let file = file.0; |
| 76 | let ret = handle_file(&file, self.compression); |
| 77 | if self.files_out.send((file, ret)).is_err() { |
| 78 | break; |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | } |
nothing calls this directly
no test coverage detected