We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43aae6e commit 8e02dc1Copy full SHA for 8e02dc1
src/vmm/src/devices/virtio/mod.rs
@@ -70,6 +70,13 @@ pub enum ActivateError {
70
VhostUser(vhost_user::VhostUserError),
71
}
72
73
+// Errors triggered when resetting a VirtioDevice.
74
+#[derive(Debug, thiserror::Error, displaydoc::Display)]
75
+pub enum ResetError {
76
+ /// Reset is not implemented for the device.
77
+ NotImplemented,
78
+}
79
+
80
/// Trait that helps in upcasting an object to Any
81
pub trait AsAny {
82
/// Return the immutable any encapsulated object.
0 commit comments