diff options
author | Florian Klink <flokli@flokli.de> | 2024-03-01T16·44+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-02T05·56+0000 |
commit | 982459d3438c478aa208bc61a0de1fe34a8d05a0 (patch) | |
tree | 00af6c2fcf13ed38e2866df975a692a57d0438ac /tvix/castore/src/blobservice/mod.rs | |
parent | e0ffb4d47a9fb52c8ea3b0d8b1d002606b0bc4ee (diff) |
fix(tvix/castore/blobwriter): don't require Sync + 'static r/7626
There's no reason for these two. Change-Id: Ie6f238bbb0b17971c9877b11b61ea7ebca573c13 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11075 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/castore/src/blobservice/mod.rs')
-rw-r--r-- | tvix/castore/src/blobservice/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/src/blobservice/mod.rs b/tvix/castore/src/blobservice/mod.rs index eeb8b9649c1a..7685ff40d60f 100644 --- a/tvix/castore/src/blobservice/mod.rs +++ b/tvix/castore/src/blobservice/mod.rs @@ -65,7 +65,7 @@ pub trait BlobService: Send + Sync { /// A [tokio::io::AsyncWrite] that the user needs to close() afterwards for persist. /// On success, it returns the digest of the written blob. #[async_trait] -pub trait BlobWriter: tokio::io::AsyncWrite + Send + Sync + Unpin + 'static { +pub trait BlobWriter: tokio::io::AsyncWrite + Send + Unpin { /// Signal there's no more data to be written, and return the digest of the /// contents written. /// |