Enum qapi_qmp::BlkdebugEvent
source · [−]pub enum BlkdebugEvent {
Show 48 variants
l1_update,
l1_grow_alloc_table,
l1_grow_write_table,
l1_grow_activate_table,
l2_load,
l2_update,
l2_update_compressed,
l2_alloc_cow_read,
l2_alloc_write,
read_aio,
read_backing_aio,
read_compressed,
write_aio,
write_compressed,
vmstate_load,
vmstate_save,
cow_read,
cow_write,
reftable_load,
reftable_grow,
reftable_update,
refblock_load,
refblock_update,
refblock_update_part,
refblock_alloc,
refblock_alloc_hookup,
refblock_alloc_write,
refblock_alloc_write_blocks,
refblock_alloc_write_table,
refblock_alloc_switch_table,
cluster_alloc,
cluster_alloc_bytes,
cluster_free,
flush_to_os,
flush_to_disk,
pwritev_rmw_head,
pwritev_rmw_after_head,
pwritev_rmw_tail,
pwritev_rmw_after_tail,
pwritev,
pwritev_zero,
pwritev_done,
empty_image_prepare,
l1_shrink_write_table,
l1_shrink_free_l2_clusters,
cor_write,
cluster_alloc_space,
none,
}Variants
l1_update
l1_grow_alloc_table
l1_grow_write_table
l1_grow_activate_table
l2_load
l2_update
l2_update_compressed
l2_alloc_cow_read
l2_alloc_write
read_aio
read_backing_aio
read_compressed
write_aio
write_compressed
vmstate_load
vmstate_save
cow_read
cow_write
reftable_load
reftable_grow
reftable_update
refblock_load
refblock_update
refblock_update_part
refblock_alloc
refblock_alloc_hookup
refblock_alloc_write
refblock_alloc_write_blocks
refblock_alloc_write_table
refblock_alloc_switch_table
cluster_alloc
cluster_alloc_bytes
cluster_free
flush_to_os
flush_to_disk
pwritev_rmw_head
pwritev_rmw_after_head
pwritev_rmw_tail
pwritev_rmw_after_tail
pwritev
pwritev_zero
pwritev_done
empty_image_prepare
l1_shrink_write_table
l1_shrink_free_l2_clusters
cor_write
cluster_alloc_space
none
Trait Implementations
sourceimpl Clone for BlkdebugEvent
impl Clone for BlkdebugEvent
sourcefn clone(&self) -> BlkdebugEvent
fn clone(&self) -> BlkdebugEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BlkdebugEvent
impl Debug for BlkdebugEvent
sourceimpl<'de> Deserialize<'de> for BlkdebugEvent
impl<'de> Deserialize<'de> for BlkdebugEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Enum for BlkdebugEvent
impl Enum for BlkdebugEvent
fn discriminant(&self) -> usize
const COUNT: usize = 48usize
const VARIANTS: &'static [Self] = &[ BlkdebugEvent::l1_update, BlkdebugEvent::l1_grow_alloc_table, BlkdebugEvent::l1_grow_write_table, BlkdebugEvent::l1_grow_activate_table, BlkdebugEvent::l2_load, BlkdebugEvent::l2_update, BlkdebugEvent::l2_update_compressed, BlkdebugEvent::l2_alloc_cow_read, BlkdebugEvent::l2_alloc_write, BlkdebugEvent::read_aio, BlkdebugEvent::read_backing_aio, BlkdebugEvent::read_compressed, BlkdebugEvent::write_aio, BlkdebugEvent::write_compressed, BlkdebugEvent::vmstate_load, BlkdebugEvent::vmstate_save, BlkdebugEvent::cow_read, BlkdebugEvent::cow_write, BlkdebugEvent::reftable_load, BlkdebugEvent::reftable_grow, BlkdebugEvent::reftable_update, BlkdebugEvent::refblock_load, BlkdebugEvent::refblock_update, BlkdebugEvent::refblock_update_part, BlkdebugEvent::refblock_alloc, BlkdebugEvent::refblock_alloc_hookup, BlkdebugEvent::refblock_alloc_write, BlkdebugEvent::refblock_alloc_write_blocks, BlkdebugEvent::refblock_alloc_write_table, BlkdebugEvent::refblock_alloc_switch_table, BlkdebugEvent::cluster_alloc, BlkdebugEvent::cluster_alloc_bytes, BlkdebugEvent::cluster_free, BlkdebugEvent::flush_to_os, BlkdebugEvent::flush_to_disk, BlkdebugEvent::pwritev_rmw_head, BlkdebugEvent::pwritev_rmw_after_head, BlkdebugEvent::pwritev_rmw_tail, BlkdebugEvent::pwritev_rmw_after_tail, BlkdebugEvent::pwritev, BlkdebugEvent::pwritev_zero, BlkdebugEvent::pwritev_done, BlkdebugEvent::empty_image_prepare, BlkdebugEvent::l1_shrink_write_table, BlkdebugEvent::l1_shrink_free_l2_clusters, BlkdebugEvent::cor_write, BlkdebugEvent::cluster_alloc_space, BlkdebugEvent::none, ]
const NAMES: &'static [&'static str] = &[ "l1_update", "l1_grow_alloc_table", "l1_grow_write_table", "l1_grow_activate_table", "l2_load", "l2_update", "l2_update_compressed", "l2_alloc_cow_read", "l2_alloc_write", "read_aio", "read_backing_aio", "read_compressed", "write_aio", "write_compressed", "vmstate_load", "vmstate_save", "cow_read", "cow_write", "reftable_load", "reftable_grow", "reftable_update", "refblock_load", "refblock_update", "refblock_update_part", "refblock_alloc", "refblock_alloc_hookup", "refblock_alloc_write", "refblock_alloc_write_blocks", "refblock_alloc_write_table", "refblock_alloc_switch_table", "cluster_alloc", "cluster_alloc_bytes", "cluster_free", "flush_to_os", "flush_to_disk", "pwritev_rmw_head", "pwritev_rmw_after_head", "pwritev_rmw_tail", "pwritev_rmw_after_tail", "pwritev", "pwritev_zero", "pwritev_done", "empty_image_prepare", "l1_shrink_write_table", "l1_shrink_free_l2_clusters", "cor_write", "cluster_alloc_space", "none", ]
fn name(&self) -> &'static str
fn from_name(s: &str) -> Option<Self>
sourceimpl FromStr for BlkdebugEvent
impl FromStr for BlkdebugEvent
sourceimpl Hash for BlkdebugEvent
impl Hash for BlkdebugEvent
sourceimpl Ord for BlkdebugEvent
impl Ord for BlkdebugEvent
sourceimpl PartialEq<BlkdebugEvent> for BlkdebugEvent
impl PartialEq<BlkdebugEvent> for BlkdebugEvent
sourceimpl PartialOrd<BlkdebugEvent> for BlkdebugEvent
impl PartialOrd<BlkdebugEvent> for BlkdebugEvent
sourcefn partial_cmp(&self, other: &BlkdebugEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &BlkdebugEvent) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for BlkdebugEvent
impl Serialize for BlkdebugEvent
impl Copy for BlkdebugEvent
impl Eq for BlkdebugEvent
impl StructuralEq for BlkdebugEvent
impl StructuralPartialEq for BlkdebugEvent
Auto Trait Implementations
impl RefUnwindSafe for BlkdebugEvent
impl Send for BlkdebugEvent
impl Sync for BlkdebugEvent
impl Unpin for BlkdebugEvent
impl UnwindSafe for BlkdebugEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more