Searched refs:CompositeDiskFile (Results 1 – 2 of 2) sorted by relevance
72 pub struct CompositeDiskFile { struct95 impl CompositeDiskFile { implementation96 fn new(mut disks: Vec<ComponentDiskPart>) -> Result<CompositeDiskFile> { in new() argument112 Ok(CompositeDiskFile { in new()120 pub fn from_file(mut file: File) -> Result<CompositeDiskFile> { in from_file() argument186 CompositeDiskFile::new(disks) in from_file()215 impl DiskGetLen for CompositeDiskFile { implementation221 impl FileSetLen for CompositeDiskFile { implementation227 impl FileSync for CompositeDiskFile { implementation245 impl FileReadWriteAtVolatile for CompositeDiskFile { implementation[all …]
27 use composite::{CompositeDiskFile, CDISK_MAGIC, CDISK_MAGIC_LEN};339 Box::new(CompositeDiskFile::from_file(raw_image).map_err(Error::CreateCompositeDisk)?) in create_disk_file()