pub enum SidecarOptions {
Enabled {
enable_logging: bool,
cpu_threshold: Option<u32>,
},
DisabledServicing,
DisabledCommandLine,
}Variants§
Enabled
Sidecar is enabled (either via command line or by default), but should be ignored if this is a restore and the host has devices and the number of VPs below the threshold.
DisabledServicing
Sidecar is disabled because this is a restore from save state (during servicing), and sidecar will not benefit this specific scenario.
DisabledCommandLine
Sidecar is explicitly disabled via command line.
Implementations§
Trait Implementations§
Source§impl Debug for SidecarOptions
impl Debug for SidecarOptions
Source§impl PartialEq for SidecarOptions
impl PartialEq for SidecarOptions
impl StructuralPartialEq for SidecarOptions
Auto Trait Implementations§
impl Freeze for SidecarOptions
impl RefUnwindSafe for SidecarOptions
impl Send for SidecarOptions
impl Sync for SidecarOptions
impl Unpin for SidecarOptions
impl UnwindSafe for SidecarOptions
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