#[repr(u32)]pub enum qemu_plugin_cb_flags {
QEMU_PLUGIN_CB_NO_REGS = 0,
QEMU_PLUGIN_CB_R_REGS = 1,
QEMU_PLUGIN_CB_RW_REGS = 2,
}
Expand description
enum qemu_plugin_cb_flags - type of callback
@QEMU_PLUGIN_CB_NO_REGS: callback does not access the CPU’s regs @QEMU_PLUGIN_CB_R_REGS: callback reads the CPU’s regs @QEMU_PLUGIN_CB_RW_REGS: callback reads and writes the CPU’s regs
Note: currently QEMU_PLUGIN_CB_RW_REGS is unused, plugins cannot change system register state.
Variants§
Trait Implementations§
Source§impl Clone for qemu_plugin_cb_flags
impl Clone for qemu_plugin_cb_flags
Source§fn clone(&self) -> qemu_plugin_cb_flags
fn clone(&self) -> qemu_plugin_cb_flags
Returns a copy 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 Debug for qemu_plugin_cb_flags
impl Debug for qemu_plugin_cb_flags
Source§impl Hash for qemu_plugin_cb_flags
impl Hash for qemu_plugin_cb_flags
Source§impl Ord for qemu_plugin_cb_flags
impl Ord for qemu_plugin_cb_flags
Source§fn cmp(&self, other: &qemu_plugin_cb_flags) -> Ordering
fn cmp(&self, other: &qemu_plugin_cb_flags) -> 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_cb_flags
impl PartialEq for qemu_plugin_cb_flags
Source§impl PartialOrd for qemu_plugin_cb_flags
impl PartialOrd for qemu_plugin_cb_flags
impl Copy for qemu_plugin_cb_flags
impl Eq for qemu_plugin_cb_flags
impl StructuralPartialEq for qemu_plugin_cb_flags
Auto Trait Implementations§
impl Freeze for qemu_plugin_cb_flags
impl RefUnwindSafe for qemu_plugin_cb_flags
impl Send for qemu_plugin_cb_flags
impl Sync for qemu_plugin_cb_flags
impl Unpin for qemu_plugin_cb_flags
impl UnwindSafe for qemu_plugin_cb_flags
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