aboutsummaryrefslogtreecommitdiff
path: root/src/storage
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-17 15:23:05 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-17 15:23:05 +0100
commit89cb8d9572d623baa858cc1c6a8472053728eafc (patch)
treebeca0d28b9d157b11b6db06f9e1c8377cab5acdc /src/storage
parente92dc35564e91ce4e6a8defa9e8b52eef9e55fae (diff)
downloadaerogramme-89cb8d9572d623baa858cc1c6a8472053728eafc.tar.gz
aerogramme-89cb8d9572d623baa858cc1c6a8472053728eafc.zip
no more error on baiyou
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/garage.rs2
-rw-r--r--src/storage/in_memory.rs2
-rw-r--r--src/storage/mod.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/garage.rs b/src/storage/garage.rs
index 00962f2..ad33769 100644
--- a/src/storage/garage.rs
+++ b/src/storage/garage.rs
@@ -6,7 +6,7 @@ pub struct GrgStore {}
pub struct GrgRef {}
pub struct GrgValue {}
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub struct GrgOrphanRowRef {}
impl IBuilders for GrgCreds {
diff --git a/src/storage/in_memory.rs b/src/storage/in_memory.rs
index a29b790..a2ad04f 100644
--- a/src/storage/in_memory.rs
+++ b/src/storage/in_memory.rs
@@ -7,7 +7,7 @@ pub struct MemStore {}
pub struct MemRef {}
pub struct MemValue {}
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub struct MemOrphanRowRef {}
impl IBuilders for FullMem {
diff --git a/src/storage/mod.rs b/src/storage/mod.rs
index 86d7fa2..c948a08 100644
--- a/src/storage/mod.rs
+++ b/src/storage/mod.rs
@@ -20,7 +20,7 @@ pub enum Alternative {
}
type ConcurrentValues = Vec<Alternative>;
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub enum OrphanRowRef {
Garage(garage::GrgOrphanRowRef),
Memory(in_memory::MemOrphanRowRef),