Searched refs:ToAsyncDisk (Results 1 – 2 of 2) sorted by relevance
104 pub trait ToAsyncDisk: DiskFile { interface113 impl ToAsyncDisk for File {318 pub fn create_async_disk_file(raw_image: File) -> Result<Box<dyn ToAsyncDisk>> { in create_async_disk_file() argument321 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() argument419 fn into_inner(self: Box<Self>) -> Box<dyn ToAsyncDisk> { in into_inner() argument
31 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