parent
6b9fbf212a
commit
d0d0e78208
14 changed files with 177 additions and 12 deletions
|
@ -113,6 +113,11 @@ impl Write for Sink {
|
|||
Ok(())
|
||||
}
|
||||
}
|
||||
impl io::LocalOutput for Sink {
|
||||
fn clone_box(&self) -> Box<dyn io::LocalOutput> {
|
||||
Box::new(Self(self.0.clone()))
|
||||
}
|
||||
}
|
||||
|
||||
/// Like a `thread::Builder::spawn` followed by a `join()`, but avoids the need
|
||||
/// for `'static` bounds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue