pub enum IoErrorContext {
QemuRunCommand {
command: String,
},
QemuTestCommand {
command: String,
},
WaitWithTimeout,
KillQemu,
WaitForQemu,
}Expand description
An I/O error occurred while trying to run the disk image.
Variants§
QemuRunCommand
QEMU command for non-test failed
QemuTestCommand
QEMU command for test failed
WaitWithTimeout
Waiting for test with timeout failed
KillQemu
Failed to kill QEMU
WaitForQemu
Failed to wait for QEMU process
Trait Implementations§
Source§impl Debug for IoErrorContext
impl Debug for IoErrorContext
Source§impl Display for IoErrorContext
impl Display for IoErrorContext
Source§impl Error for IoErrorContext
impl Error for IoErrorContext
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for IoErrorContext
impl RefUnwindSafe for IoErrorContext
impl Send for IoErrorContext
impl Sync for IoErrorContext
impl Unpin for IoErrorContext
impl UnsafeUnpin for IoErrorContext
impl UnwindSafe for IoErrorContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more