Enum qemu_plugin::sys::qemu_plugin_cb_flags
source · #[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 unused, plugins cannot read or 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§fn eq(&self, other: &qemu_plugin_cb_flags) -> bool
fn eq(&self, other: &qemu_plugin_cb_flags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for qemu_plugin_cb_flags
impl PartialOrd for qemu_plugin_cb_flags
source§fn partial_cmp(&self, other: &qemu_plugin_cb_flags) -> Option<Ordering>
fn partial_cmp(&self, other: &qemu_plugin_cb_flags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for qemu_plugin_cb_flags
impl Eq for qemu_plugin_cb_flags
impl StructuralEq for qemu_plugin_cb_flags
impl StructuralPartialEq for qemu_plugin_cb_flags
Auto Trait Implementations§
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