Home
last modified time | relevance | path

Searched refs:ToAsyncDisk (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/disk/src/
Ddisk.rs104 pub trait ToAsyncDisk: DiskFile { interface
113 impl ToAsyncDisk for File {
318 pub fn create_async_disk_file(raw_image: File) -> Result<Box<dyn ToAsyncDisk>> { in create_async_disk_file() argument
321 ImageType::Raw => Box::new(raw_image) as Box<dyn ToAsyncDisk>, in create_async_disk_file()
355 fn into_inner(self: Box<Self>) -> Box<dyn ToAsyncDisk>; in into_inner() argument
419 fn into_inner(self: Box<Self>) -> Box<dyn ToAsyncDisk> { in into_inner() argument
/external/crosvm/devices/src/virtio/
Dblock_async.rs31 use disk::{AsyncDisk, ToAsyncDisk};
566 worker_thread: Option<thread::JoinHandle<(Box<dyn ToAsyncDisk>, Option<Tube>)>>,
567 disk_image: Option<Box<dyn ToAsyncDisk>>,
599 disk_image: Box<dyn ToAsyncDisk>, in new() argument