example usage of boxed futures
Albatros default Details

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
1 changed files with 4 additions and 1 deletions

View File

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