AsyncReadChunk: require Send

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-06-16 09:50:29 +02:00
parent 67908b47fa
commit d30c192589
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ impl ReadChunk for LocalChunkReader {
} }
} }
pub trait AsyncReadChunk { pub trait AsyncReadChunk: Send {
/// Returns the encoded chunk data /// Returns the encoded chunk data
fn read_raw_chunk<'a>( fn read_raw_chunk<'a>(
&'a mut self, &'a mut self,