mirror of
https://github.com/async-rs/async-std.git
synced 2025-05-14 19:11:27 +00:00
impl FusedStream for Fuse
This commit is contained in:
parent
0e3c47c3bf
commit
d55cfb1da8
1 changed files with 6 additions and 0 deletions
|
@ -31,3 +31,9 @@ impl<S: futures_core::Stream> futures_core::Stream for Fuse<S> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<S: futures_core::Stream> futures_core::stream::FusedStream for Fuse<S> {
|
||||||
|
fn is_terminated(&self) -> bool {
|
||||||
|
self.done
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue