fix(tvix/castore/blobwriter): don't require Sync + 'static
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>
This commit is contained in:
parent
e0ffb4d47a
commit
982459d343
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pub trait BlobService: Send + Sync {
|
||||||
/// A [tokio::io::AsyncWrite] that the user needs to close() afterwards for persist.
|
/// A [tokio::io::AsyncWrite] that the user needs to close() afterwards for persist.
|
||||||
/// On success, it returns the digest of the written blob.
|
/// On success, it returns the digest of the written blob.
|
||||||
#[async_trait]
|
#[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
|
/// Signal there's no more data to be written, and return the digest of the
|
||||||
/// contents written.
|
/// contents written.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue