mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: Derive Debug on RawFileDisk
Add #[derive(Debug)] to RawFileDisk. This is required by the new disk_file traits which have Send + Debug bounds. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
@@ -18,6 +18,7 @@ use crate::{
|
|||||||
BatchRequest, DiskTopology, RequestType, SECTOR_SIZE, probe_sparse_support, query_device_size,
|
BatchRequest, DiskTopology, RequestType, SECTOR_SIZE, probe_sparse_support, query_device_size,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct RawFileDisk {
|
pub struct RawFileDisk {
|
||||||
file: File,
|
file: File,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user