From ad6b6b14db9c5e0a0b025687db5f387a4e6ee6a7 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 23 May 2023 14:50:17 +0300 Subject: feat(tvix/store/pathinfosvc): derive Clone This allows closing a TvixStoreIO if it contains a SledPathInfoService. Change-Id: Ife451eda331bafdb1af91f45a94cccd13f2f67c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8620 Reviewed-by: tazjin Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/store/src/pathinfoservice/sled.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix/store') diff --git a/tvix/store/src/pathinfoservice/sled.rs b/tvix/store/src/pathinfoservice/sled.rs index bccd6b1413..8776ebcbc1 100644 --- a/tvix/store/src/pathinfoservice/sled.rs +++ b/tvix/store/src/pathinfoservice/sled.rs @@ -8,6 +8,7 @@ use tracing::warn; /// /// The PathInfo messages are stored as encoded protos, and keyed by their output hash, /// as that's currently the only request type available. +#[derive(Clone)] pub struct SledPathInfoService { db: sled::Db, } -- cgit 1.4.1