Update libs/remote_storage/src/lib.rs

Co-authored-by: Arpad Müller <arpad-m@users.noreply.github.com>
This commit is contained in:
Alex Chi Z.
2025-04-16 14:14:15 -04:00
committed by GitHub
parent 443b052eec
commit 1da54b7e01

View File

@@ -341,7 +341,7 @@ pub trait RemoteStorage: Send + Sync + 'static {
cancel: &CancellationToken,
) -> Result<Download, DownloadError>;
/// Same as upload, but with SSE-C encryption if the backend supports it.
/// Same as upload, but with remote encryption if the backend supports it (e.g. SSE-C on AWS).
async fn upload_with_encryption(
&self,
from: impl Stream<Item = std::io::Result<Bytes>> + Send + Sync + 'static,