]> git.proxmox.com Git - proxmox-backup.git/blobdiff - pbs-datastore/src/read_chunk.rs
pull: refactor pulling from a datastore
[proxmox-backup.git] / pbs-datastore / src / read_chunk.rs
index c04a74315f0a840169670ee636145aeaec92caaf..29ee2d4c4861bdefc36641d16e0c7a2f2fb4d1c1 100644 (file)
@@ -14,7 +14,7 @@ pub trait ReadChunk {
     fn read_chunk(&self, digest: &[u8; 32]) -> Result<Vec<u8>, Error>;
 }
 
-pub trait AsyncReadChunk: Send {
+pub trait AsyncReadChunk: Send + Sync {
     /// Returns the encoded chunk data
     fn read_raw_chunk<'a>(
         &'a self,