aboutsummaryrefslogtreecommitdiff
path: root/src/storage/garage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/garage.rs')
-rw-r--r--src/storage/garage.rs16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/storage/garage.rs b/src/storage/garage.rs
index b883623..965953e 100644
--- a/src/storage/garage.rs
+++ b/src/storage/garage.rs
@@ -5,27 +5,19 @@ pub struct GrgStore {}
pub struct GrgRef {}
pub struct GrgValue {}
-pub struct GrgTypes {}
-impl Sto for GrgTypes {
- type Builder=GrgCreds;
- type Store=GrgStore;
- type Ref=GrgRef;
- type Value=GrgValue;
-}
-
-impl RowBuilder<GrgTypes> for GrgCreds {
+impl IRowBuilder for GrgCreds {
fn row_store(&self) -> GrgStore {
unimplemented!();
}
}
-impl RowStore<GrgTypes> for GrgStore {
+impl IRowStore for GrgStore {
fn new_row(&self, partition: &str, sort: &str) -> GrgRef {
unimplemented!();
}
}
-impl RowRef<GrgTypes> for GrgRef {
+impl IRowRef for GrgRef {
fn set_value(&self, content: Vec<u8>) -> GrgValue {
unimplemented!();
}
@@ -40,7 +32,7 @@ impl RowRef<GrgTypes> for GrgRef {
}
}
-impl RowValue<GrgTypes> for GrgValue {
+impl IRowValue for GrgValue {
fn to_ref(&self) -> GrgRef {
unimplemented!();
}