(self)
| 37 | |
| 38 | impl<T: Write + Send + 'static> ProgressHandler<T> { |
| 39 | pub fn into_output(self) -> Output { |
| 40 | let boxed: Box<dyn Write + Send + 'static> = Box::new(self); |
| 41 | boxed.into() |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | impl<T: Write + Send> Write for ProgressHandler<T> { |