aboutsummaryrefslogtreecommitdiff
path: root/src/storage/in_memory.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 10:45:41 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 10:45:41 +0100
commit73a6a0c014fd850a97eba175abe1ef8e2d0220b4 (patch)
tree2a55a08c30772b34248aa88b1bd4ae7626c5acac /src/storage/in_memory.rs
parent9aa58194d44fef8b0b916f6c96edd124ce13bf7b (diff)
downloadaerogramme-73a6a0c014fd850a97eba175abe1ef8e2d0220b4.tar.gz
aerogramme-73a6a0c014fd850a97eba175abe1ef8e2d0220b4.zip
example usage of boxed futures
Diffstat (limited to 'src/storage/in_memory.rs')
-rw-r--r--src/storage/in_memory.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/storage/in_memory.rs b/src/storage/in_memory.rs
index fe7c93f..dd255ad 100644
--- a/src/storage/in_memory.rs
+++ b/src/storage/in_memory.rs
@@ -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()
}
}