aboutsummaryrefslogtreecommitdiff
path: root/src/storage/garage.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-17 10:46:13 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-17 10:46:13 +0100
commit7eb690e49dd995663e8ea35b1a1f5b14584b4509 (patch)
treeca6f5a3dd2be863c2d4060f791065998b446215c /src/storage/garage.rs
parent6da8b815b694a37d39a2be04c8e1585aac17954a (diff)
downloadaerogramme-7eb690e49dd995663e8ea35b1a1f5b14584b4509.tar.gz
aerogramme-7eb690e49dd995663e8ea35b1a1f5b14584b4509.zip
introduce an "orphan" enum
Diffstat (limited to 'src/storage/garage.rs')
-rw-r--r--src/storage/garage.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/storage/garage.rs b/src/storage/garage.rs
index aef9a0d..d6ac7ac 100644
--- a/src/storage/garage.rs
+++ b/src/storage/garage.rs
@@ -6,6 +6,9 @@ pub struct GrgStore {}
pub struct GrgRef {}
pub struct GrgValue {}
+#[derive(Clone, Debug)]
+pub struct GrgOrphanRowRef {}
+
impl IBuilders for GrgCreds {
fn row_store(&self) -> Result<RowStore, StorageError> {
unimplemented!();
@@ -32,13 +35,17 @@ impl IRowStore for GrgStore {
fn rm(&self, selector: Selector) -> AsyncResult<()> {
unimplemented!();
}
+
+ fn from_orphan(&self, orphan: OrphanRowRef) -> RowRef {
+ unimplemented!();
+ }
}
impl IRowRef for GrgRef {
/*fn clone_boxed(&self) -> RowRef {
unimplemented!();
}*/
- fn to_orphan(&self) -> RowRefOrphan {
+ fn to_orphan(&self) -> OrphanRowRef {
unimplemented!()
}