mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
vhost_user_block: drop Sync bound for DiskFile
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
a64bdcf3f5
commit
c6c5e4ee87
@ -45,8 +45,8 @@ const BLK_SIZE: u32 = 512;
|
||||
// and the overhead of the emulation layer.
|
||||
const POLL_QUEUE_US: u128 = 50;
|
||||
|
||||
trait DiskFile: Read + Seek + Write + Send + Sync {}
|
||||
impl<D: Read + Seek + Write + Send + Sync> DiskFile for D {}
|
||||
trait DiskFile: Read + Seek + Write + Send {}
|
||||
impl<D: Read + Seek + Write + Send> DiskFile for D {}
|
||||
|
||||
type Result<T> = std::result::Result<T, Error>;
|
||||
type VhostUserBackendResult<T> = std::result::Result<T, std::io::Error>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user