Enum qapi_qmp::MigrationParameter
source · [−]pub enum MigrationParameter {
Show 27 variants
announce_initial,
announce_max,
announce_rounds,
announce_step,
compress_level,
compress_threads,
decompress_threads,
compress_wait_thread,
throttle_trigger_threshold,
cpu_throttle_initial,
cpu_throttle_increment,
cpu_throttle_tailslow,
tls_creds,
tls_hostname,
tls_authz,
max_bandwidth,
downtime_limit,
x_checkpoint_delay,
block_incremental,
multifd_channels,
xbzrle_cache_size,
max_postcopy_bandwidth,
max_cpu_throttle,
multifd_compression,
multifd_zlib_level,
multifd_zstd_level,
block_bitmap_mapping,
}Variants
announce_initial
announce_max
announce_rounds
announce_step
compress_level
compress_threads
decompress_threads
compress_wait_thread
throttle_trigger_threshold
cpu_throttle_initial
cpu_throttle_increment
cpu_throttle_tailslow
tls_creds
tls_hostname
tls_authz
max_bandwidth
downtime_limit
x_checkpoint_delay
block_incremental
multifd_channels
xbzrle_cache_size
max_postcopy_bandwidth
max_cpu_throttle
multifd_compression
multifd_zlib_level
multifd_zstd_level
block_bitmap_mapping
Trait Implementations
sourceimpl Clone for MigrationParameter
impl Clone for MigrationParameter
sourcefn clone(&self) -> MigrationParameter
fn clone(&self) -> MigrationParameter
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 MigrationParameter
impl Debug for MigrationParameter
sourceimpl<'de> Deserialize<'de> for MigrationParameter
impl<'de> Deserialize<'de> for MigrationParameter
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 MigrationParameter
impl Enum for MigrationParameter
fn discriminant(&self) -> usize
const COUNT: usize = 27usize
const VARIANTS: &'static [Self] = &[ MigrationParameter::announce_initial, MigrationParameter::announce_max, MigrationParameter::announce_rounds, MigrationParameter::announce_step, MigrationParameter::compress_level, MigrationParameter::compress_threads, MigrationParameter::decompress_threads, MigrationParameter::compress_wait_thread, MigrationParameter::throttle_trigger_threshold, MigrationParameter::cpu_throttle_initial, MigrationParameter::cpu_throttle_increment, MigrationParameter::cpu_throttle_tailslow, MigrationParameter::tls_creds, MigrationParameter::tls_hostname, MigrationParameter::tls_authz, MigrationParameter::max_bandwidth, MigrationParameter::downtime_limit, MigrationParameter::x_checkpoint_delay, MigrationParameter::block_incremental, MigrationParameter::multifd_channels, MigrationParameter::xbzrle_cache_size, MigrationParameter::max_postcopy_bandwidth, MigrationParameter::max_cpu_throttle, MigrationParameter::multifd_compression, MigrationParameter::multifd_zlib_level, MigrationParameter::multifd_zstd_level, MigrationParameter::block_bitmap_mapping, ]
const NAMES: &'static [&'static str] = &[ "announce-initial", "announce-max", "announce-rounds", "announce-step", "compress-level", "compress-threads", "decompress-threads", "compress-wait-thread", "throttle-trigger-threshold", "cpu-throttle-initial", "cpu-throttle-increment", "cpu-throttle-tailslow", "tls-creds", "tls-hostname", "tls-authz", "max-bandwidth", "downtime-limit", "x-checkpoint-delay", "block-incremental", "multifd-channels", "xbzrle-cache-size", "max-postcopy-bandwidth", "max-cpu-throttle", "multifd-compression", "multifd-zlib-level", "multifd-zstd-level", "block-bitmap-mapping", ]
fn name(&self) -> &'static str
fn from_name(s: &str) -> Option<Self>
sourceimpl FromStr for MigrationParameter
impl FromStr for MigrationParameter
sourceimpl Hash for MigrationParameter
impl Hash for MigrationParameter
sourceimpl Ord for MigrationParameter
impl Ord for MigrationParameter
sourceimpl PartialOrd<MigrationParameter> for MigrationParameter
impl PartialOrd<MigrationParameter> for MigrationParameter
sourcefn partial_cmp(&self, other: &MigrationParameter) -> Option<Ordering>
fn partial_cmp(&self, other: &MigrationParameter) -> 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 MigrationParameter
impl Serialize for MigrationParameter
impl Copy for MigrationParameter
impl Eq for MigrationParameter
impl StructuralEq for MigrationParameter
impl StructuralPartialEq for MigrationParameter
Auto Trait Implementations
impl RefUnwindSafe for MigrationParameter
impl Send for MigrationParameter
impl Sync for MigrationParameter
impl Unpin for MigrationParameter
impl UnwindSafe for MigrationParameter
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