example usage of boxed futures
Some checks reported errors
Albatros default

This commit is contained in:
Quentin 2023-11-02 10:45:41 +01:00
parent 9aa58194d4
commit 73a6a0c014
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -1,3 +1,4 @@
use futures::FutureExt;
use crate::storage::*; use crate::storage::*;
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
@ -29,7 +30,9 @@ impl IRowRef for MemRef {
unimplemented!(); unimplemented!();
} }
fn poll(&self) -> AsyncResult<Option<RowValue>> { fn poll(&self) -> AsyncResult<Option<RowValue>> {
unimplemented!(); async {
Ok(None)
}.boxed()
} }
} }