Enum qapi_qmp::MigrationCapability
source · [−]pub enum MigrationCapability {
Show 19 variants
xbzrle,
rdma_pin_all,
auto_converge,
zero_blocks,
compress,
events,
postcopy_ram,
x_colo,
release_ram,
block,
return_path,
pause_before_switchover,
multifd,
dirty_bitmaps,
postcopy_blocktime,
late_block_activate,
x_ignore_shared,
validate_uuid,
background_snapshot,
}Variants
xbzrle
rdma_pin_all
auto_converge
zero_blocks
compress
events
postcopy_ram
x_colo
release_ram
block
return_path
pause_before_switchover
multifd
dirty_bitmaps
postcopy_blocktime
late_block_activate
x_ignore_shared
validate_uuid
background_snapshot
Trait Implementations
sourceimpl Clone for MigrationCapability
impl Clone for MigrationCapability
sourcefn clone(&self) -> MigrationCapability
fn clone(&self) -> MigrationCapability
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 MigrationCapability
impl Debug for MigrationCapability
sourceimpl<'de> Deserialize<'de> for MigrationCapability
impl<'de> Deserialize<'de> for MigrationCapability
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 MigrationCapability
impl Enum for MigrationCapability
fn discriminant(&self) -> usize
const COUNT: usize = 19usize
const VARIANTS: &'static [Self] = &[ MigrationCapability::xbzrle, MigrationCapability::rdma_pin_all, MigrationCapability::auto_converge, MigrationCapability::zero_blocks, MigrationCapability::compress, MigrationCapability::events, MigrationCapability::postcopy_ram, MigrationCapability::x_colo, MigrationCapability::release_ram, MigrationCapability::block, MigrationCapability::return_path, MigrationCapability::pause_before_switchover, MigrationCapability::multifd, MigrationCapability::dirty_bitmaps, MigrationCapability::postcopy_blocktime, MigrationCapability::late_block_activate, MigrationCapability::x_ignore_shared, MigrationCapability::validate_uuid, MigrationCapability::background_snapshot, ]
const NAMES: &'static [&'static str] = &[ "xbzrle", "rdma-pin-all", "auto-converge", "zero-blocks", "compress", "events", "postcopy-ram", "x-colo", "release-ram", "block", "return-path", "pause-before-switchover", "multifd", "dirty-bitmaps", "postcopy-blocktime", "late-block-activate", "x-ignore-shared", "validate-uuid", "background-snapshot", ]
fn name(&self) -> &'static str
fn from_name(s: &str) -> Option<Self>
sourceimpl FromStr for MigrationCapability
impl FromStr for MigrationCapability
sourceimpl Hash for MigrationCapability
impl Hash for MigrationCapability
sourceimpl Ord for MigrationCapability
impl Ord for MigrationCapability
sourceimpl PartialOrd<MigrationCapability> for MigrationCapability
impl PartialOrd<MigrationCapability> for MigrationCapability
sourcefn partial_cmp(&self, other: &MigrationCapability) -> Option<Ordering>
fn partial_cmp(&self, other: &MigrationCapability) -> 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 MigrationCapability
impl Serialize for MigrationCapability
impl Copy for MigrationCapability
impl Eq for MigrationCapability
impl StructuralEq for MigrationCapability
impl StructuralPartialEq for MigrationCapability
Auto Trait Implementations
impl RefUnwindSafe for MigrationCapability
impl Send for MigrationCapability
impl Sync for MigrationCapability
impl Unpin for MigrationCapability
impl UnwindSafe for MigrationCapability
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