mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: Derive Debug on RawFileDiskAio
Add #[derive(Debug)] to RawFileDiskAio. 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:
@@ -19,6 +19,7 @@ use crate::async_io::{
|
|||||||
};
|
};
|
||||||
use crate::{DiskTopology, SECTOR_SIZE, probe_sparse_support, query_device_size};
|
use crate::{DiskTopology, SECTOR_SIZE, probe_sparse_support, query_device_size};
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct RawFileDiskAio {
|
pub struct RawFileDiskAio {
|
||||||
file: File,
|
file: File,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user