diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-02 10:55:40 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-02 10:55:40 +0100 |
commit | 1f28832deaff3a2319cc88d5a83ffe506b784fc8 (patch) | |
tree | d4cfbe576725bb0952cb9e6fb21ea2931bad851e /src/storage/mod.rs | |
parent | 73a6a0c014fd850a97eba175abe1ef8e2d0220b4 (diff) | |
download | aerogramme-1f28832deaff3a2319cc88d5a83ffe506b784fc8.tar.gz aerogramme-1f28832deaff3a2319cc88d5a83ffe506b784fc8.zip |
start replacing engine
Diffstat (limited to 'src/storage/mod.rs')
-rw-r--r-- | src/storage/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/mod.rs b/src/storage/mod.rs index b5c8518..c20853b 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -54,7 +54,7 @@ pub type AsyncResult<'a, T> = BoxFuture<'a, Result<T, Error>>; // ------ Row Builder pub trait IRowBuilder { - fn row_store(&self) -> RowStore; + fn row_store(&self) -> Result<RowStore, Error>; } pub type RowBuilder = Box<dyn IRowBuilder + Send + Sync>; @@ -63,7 +63,7 @@ pub trait IRowStore { fn new_row(&self, partition: &str, sort: &str) -> RowRef; } -type RowStore = Box<dyn IRowStore>; +pub type RowStore = Box<dyn IRowStore>; // ------- Row Item pub trait IRowRef |