pub enum TimeoutStrategy {
Cancel,
Ignore,
}Expand description
TimeoutStrategy : The strategy to apply when the migration timeout is reached. Cancel will abort the migration and keep the VM running on the source. Ignore will proceed with the migration regardless of the downtime requirement. The strategy to apply when the migration timeout is reached. Cancel will abort the migration and keep the VM running on the source. Ignore will proceed with the migration regardless of the downtime requirement.
Variants§
Trait Implementations§
Source§impl Clone for TimeoutStrategy
impl Clone for TimeoutStrategy
Source§fn clone(&self) -> TimeoutStrategy
fn clone(&self) -> TimeoutStrategy
Returns a duplicate 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 TimeoutStrategy
impl Debug for TimeoutStrategy
Source§impl Default for TimeoutStrategy
impl Default for TimeoutStrategy
Source§fn default() -> TimeoutStrategy
fn default() -> TimeoutStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeoutStrategy
impl<'de> Deserialize<'de> for TimeoutStrategy
Source§fn 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
Source§impl Display for TimeoutStrategy
impl Display for TimeoutStrategy
Source§impl Hash for TimeoutStrategy
impl Hash for TimeoutStrategy
Source§impl Ord for TimeoutStrategy
impl Ord for TimeoutStrategy
Source§fn cmp(&self, other: &TimeoutStrategy) -> Ordering
fn cmp(&self, other: &TimeoutStrategy) -> 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 TimeoutStrategy
impl PartialEq for TimeoutStrategy
Source§impl PartialOrd for TimeoutStrategy
impl PartialOrd for TimeoutStrategy
Source§impl Serialize for TimeoutStrategy
impl Serialize for TimeoutStrategy
impl Copy for TimeoutStrategy
impl Eq for TimeoutStrategy
impl StructuralPartialEq for TimeoutStrategy
Auto Trait Implementations§
impl Freeze for TimeoutStrategy
impl RefUnwindSafe for TimeoutStrategy
impl Send for TimeoutStrategy
impl Sync for TimeoutStrategy
impl Unpin for TimeoutStrategy
impl UnsafeUnpin for TimeoutStrategy
impl UnwindSafe for TimeoutStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.