pub struct RestorePoolConfig {
pub min_size: usize,
pub max_size: usize,
}Available on crate feature
kvm only.Expand description
Configuration for the snapshot restore pool.
Fields§
§min_size: usizeMinimum number of empty VM shells to prewarm and keep available.
max_size: usizeMaximum number of empty VM shells retained by the restore pool.
Trait Implementations§
Source§impl Clone for RestorePoolConfig
Available on Linux only.
impl Clone for RestorePoolConfig
Available on Linux only.
Source§fn clone(&self) -> RestorePoolConfig
fn clone(&self) -> RestorePoolConfig
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 RestorePoolConfig
Available on Linux only.
impl Debug for RestorePoolConfig
Available on Linux only.
Source§impl PartialEq for RestorePoolConfig
Available on Linux only.
impl PartialEq for RestorePoolConfig
Available on Linux only.
impl Copy for RestorePoolConfig
Available on Linux only.
impl Eq for RestorePoolConfig
Available on Linux only.
impl StructuralPartialEq for RestorePoolConfig
Available on Linux only.
Auto Trait Implementations§
impl Freeze for RestorePoolConfig
impl RefUnwindSafe for RestorePoolConfig
impl Send for RestorePoolConfig
impl Sync for RestorePoolConfig
impl Unpin for RestorePoolConfig
impl UnsafeUnpin for RestorePoolConfig
impl UnwindSafe for RestorePoolConfig
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