feat(tvix/castore/directory/get_recursive): add 'static to BoxStream

Necessary to directly use this in the GRPC DirectoryService wrapper
directly.

Change-Id: Ic6a0038a40dc30071d145af5035345fcd93288ae
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11634
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
Florian Klink 2024-05-12 14:35:52 +03:00 committed by clbot
parent ed584b9296
commit b26569028c
5 changed files with 6 additions and 6 deletions

View file

@ -73,7 +73,7 @@ impl DirectoryService for MemoryDirectoryService {
fn get_recursive(
&self,
root_directory_digest: &B3Digest,
) -> BoxStream<Result<proto::Directory, Error>> {
) -> BoxStream<'static, Result<proto::Directory, Error>> {
traverse_directory(self.clone(), root_directory_digest)
}