diff options
Diffstat (limited to 'disk/src/disk.rs')
-rw-r--r-- | disk/src/disk.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/disk/src/disk.rs b/disk/src/disk.rs index a2b376713..358a80ff0 100644 --- a/disk/src/disk.rs +++ b/disk/src/disk.rs @@ -119,14 +119,10 @@ pub enum Error { #[error("failed to write data: {0}")] WritingData(io::Error), #[error("failed to convert to async: {0}")] - ToAsync(cros_async::AsyncError), + ToAsync(io::Error), #[cfg(windows)] #[error("failed to set disk file sparse: {0}")] SetSparseFailure(io::Error), - #[error("failure with guest memory access: {0}")] - GuestMemory(cros_async::mem::Error), - #[error("unsupported operation")] - UnsupportedOperation, } pub type Result<T> = std::result::Result<T, Error>; |