(&mut self, _size: u64)
| 78 | |
| 79 | impl disk_file::Resizable for VhdxDiskSync { |
| 80 | fn resize(&mut self, _size: u64) -> BlockResult<()> { |
| 81 | Err(BlockError::new( |
| 82 | BlockErrorKind::UnsupportedFeature, |
| 83 | DiskFileError::ResizeError(std::io::Error::other("resize not supported for VHDX")), |
| 84 | ) |
| 85 | .with_op(ErrorOp::Resize)) |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | impl disk_file::DiskFile for VhdxDiskSync {} |