gstreamer: Implement FusedFuture for PromiseFuture

This commit is contained in:
Sebastian Dröge 2022-05-22 12:27:06 +03:00
parent aaf601831e
commit cb1f08a425

View file

@ -182,6 +182,12 @@ impl std::future::Future for PromiseFuture {
}
}
impl futures_core::future::FusedFuture for PromiseFuture {
fn is_terminated(&self) -> bool {
self.1.is_terminated()
}
}
impl Deref for PromiseReply {
type Target = StructureRef;