Enum qemu_plugin::error::Error
source · pub enum Error {
MissingArgKey {
argument: String,
},
MissingArgValue {
argument: String,
},
InvalidBool {
name: String,
val: String,
},
ConcurrentPluginUninstallCallbackSet,
ConcurrentPluginResetCallbackSet,
PluginResetCallbackState,
InvalidInstructionIndex {
index: usize,
size: usize,
},
NoDisassemblyString,
Utf8Error(Utf8Error),
NulError(NulError),
Other(Error),
}
Expand description
An error from the qemu-plugin crate
Variants§
MissingArgKey
Error when an argument is missing a key
MissingArgValue
Error when an argument is missing a value
InvalidBool
Fields
Error when a boolean argument is invalid
ConcurrentPluginUninstallCallbackSet
Error when the QEMU plugin uninstall callback is set concurrently
ConcurrentPluginResetCallbackSet
Error when the QEMU plugin reset callback is set concurrently
PluginResetCallbackState
Error when the plugin reset callback is in an invalid state
InvalidInstructionIndex
Fields
Error when an instruction index is invalid
NoDisassemblyString
Error when no disassembly string is available for an instruction (i.e. NULL string
Utf8Error(Utf8Error)
A transparently wrapped std::str::Utf8Error
NulError(NulError)
A transparently wrapped std::ffi::NulError
Other(Error)
A transparently wrapped anyhow::Error
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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