#[repr(u32)]pub enum qemu_plugin_hwaddr_operation_result {
QEMU_PLUGIN_HWADDR_OPERATION_OK = 0,
QEMU_PLUGIN_HWADDR_OPERATION_ERROR = 1,
QEMU_PLUGIN_HWADDR_OPERATION_DEVICE_ERROR = 2,
QEMU_PLUGIN_HWADDR_OPERATION_ACCESS_DENIED = 3,
QEMU_PLUGIN_HWADDR_OPERATION_INVALID_ADDRESS = 4,
QEMU_PLUGIN_HWADDR_OPERATION_INVALID_ADDRESS_SPACE = 5,
}Expand description
enum qemu_plugin_hwaddr_operation_result - result of a memory operation
@QEMU_PLUGIN_HWADDR_OPERATION_OK: hwaddr operation succeeded @QEMU_PLUGIN_HWADDR_OPERATION_ERROR: unexpected error occurred @QEMU_PLUGIN_HWADDR_OPERATION_DEVICE_ERROR: error in memory device @QEMU_PLUGIN_HWADDR_OPERATION_ACCESS_DENIED: permission error @QEMU_PLUGIN_HWADDR_OPERATION_INVALID_ADDRESS: address was invalid @QEMU_PLUGIN_HWADDR_OPERATION_INVALID_ADDRESS_SPACE: invalid address space
Variants§
QEMU_PLUGIN_HWADDR_OPERATION_OK = 0
QEMU_PLUGIN_HWADDR_OPERATION_ERROR = 1
QEMU_PLUGIN_HWADDR_OPERATION_DEVICE_ERROR = 2
QEMU_PLUGIN_HWADDR_OPERATION_ACCESS_DENIED = 3
QEMU_PLUGIN_HWADDR_OPERATION_INVALID_ADDRESS = 4
QEMU_PLUGIN_HWADDR_OPERATION_INVALID_ADDRESS_SPACE = 5
Trait Implementations§
Source§impl Clone for qemu_plugin_hwaddr_operation_result
impl Clone for qemu_plugin_hwaddr_operation_result
Source§fn clone(&self) -> qemu_plugin_hwaddr_operation_result
fn clone(&self) -> qemu_plugin_hwaddr_operation_result
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Ord for qemu_plugin_hwaddr_operation_result
impl Ord for qemu_plugin_hwaddr_operation_result
Source§fn cmp(&self, other: &qemu_plugin_hwaddr_operation_result) -> Ordering
fn cmp(&self, other: &qemu_plugin_hwaddr_operation_result) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for qemu_plugin_hwaddr_operation_result
impl PartialEq for qemu_plugin_hwaddr_operation_result
Source§fn eq(&self, other: &qemu_plugin_hwaddr_operation_result) -> bool
fn eq(&self, other: &qemu_plugin_hwaddr_operation_result) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for qemu_plugin_hwaddr_operation_result
impl PartialOrd for qemu_plugin_hwaddr_operation_result
impl Copy for qemu_plugin_hwaddr_operation_result
impl Eq for qemu_plugin_hwaddr_operation_result
impl StructuralPartialEq for qemu_plugin_hwaddr_operation_result
Auto Trait Implementations§
impl Freeze for qemu_plugin_hwaddr_operation_result
impl RefUnwindSafe for qemu_plugin_hwaddr_operation_result
impl Send for qemu_plugin_hwaddr_operation_result
impl Sync for qemu_plugin_hwaddr_operation_result
impl Unpin for qemu_plugin_hwaddr_operation_result
impl UnwindSafe for qemu_plugin_hwaddr_operation_result
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