refactor(tvix/castore): relax trait bounds on BlobService
We don't need to clone BlobService anymore. Change-Id: I2f3b9a595f604ec0f1e081f6e90cd8b67cbb8961 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11419 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
9498ac936e
commit
f1349caf3f
1 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ pub async fn ingest_path<'a, BS, DS, P>(
|
|||
) -> Result<Node, Error>
|
||||
where
|
||||
P: AsRef<Path> + std::fmt::Debug,
|
||||
BS: AsRef<dyn BlobService> + Clone,
|
||||
BS: AsRef<dyn BlobService>,
|
||||
DS: AsRef<dyn DirectoryService>,
|
||||
{
|
||||
// produce the leveled-key vector of DirEntry.
|
||||
|
@ -204,7 +204,7 @@ pub async fn ingest_entries<'a, BS, DS, S>(
|
|||
#[allow(unused_mut)] mut direntry_stream: S,
|
||||
) -> Result<Node, Error>
|
||||
where
|
||||
BS: AsRef<dyn BlobService> + Clone,
|
||||
BS: AsRef<dyn BlobService>,
|
||||
DS: AsRef<dyn DirectoryService>,
|
||||
S: Stream<Item = DirEntry> + std::marker::Unpin,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue