diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-02 11:51:03 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-02 11:51:03 +0100 |
commit | 553ea25f1854706b60ce6f087545968533ef6140 (patch) | |
tree | 9affda3665b1cbc6a7aca82cdc789555788321ba /src/storage/in_memory.rs | |
parent | 1f28832deaff3a2319cc88d5a83ffe506b784fc8 (diff) | |
download | aerogramme-553ea25f1854706b60ce6f087545968533ef6140.tar.gz aerogramme-553ea25f1854706b60ce6f087545968533ef6140.zip |
gradually implement our interface
Diffstat (limited to 'src/storage/in_memory.rs')
-rw-r--r-- | src/storage/in_memory.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/storage/in_memory.rs b/src/storage/in_memory.rs index 6fa8138..80e7fdf 100644 --- a/src/storage/in_memory.rs +++ b/src/storage/in_memory.rs @@ -2,13 +2,17 @@ use futures::FutureExt; use crate::storage::*; #[derive(Clone, Debug)] -pub struct MemCreds {} +pub struct FullMem {} pub struct MemStore {} pub struct MemRef {} pub struct MemValue {} -impl IRowBuilder for MemCreds { - fn row_store(&self) -> Result<RowStore, Error> { +impl IBuilder for FullMem { + fn row_store(&self) -> Result<RowStore, StorageError> { + unimplemented!(); + } + + fn blob_store(&self) -> Result<BlobStore, StorageError> { unimplemented!(); } } |