pub enum MaintenanceMode {
Quick,
Full,
}Expand description
Which maintenance pass to run.
Serialize/Deserialize so the mover work-spec can carry the mode as one
shared type (no parallel enum in kopiur-mover). Wire form is the camelCase
variant name ("quick" / "full").
Variants§
Quick
kopia maintenance run --no-full — index compaction, epoch advance.
Full
kopia maintenance run --full — content GC + rewrite.
Trait Implementations§
Source§impl Clone for MaintenanceMode
impl Clone for MaintenanceMode
Source§fn clone(&self) -> MaintenanceMode
fn clone(&self) -> MaintenanceMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MaintenanceMode
impl Debug for MaintenanceMode
Source§impl<'de> Deserialize<'de> for MaintenanceMode
impl<'de> Deserialize<'de> for MaintenanceMode
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 PartialEq for MaintenanceMode
impl PartialEq for MaintenanceMode
Source§fn eq(&self, other: &MaintenanceMode) -> bool
fn eq(&self, other: &MaintenanceMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaintenanceMode
impl Serialize for MaintenanceMode
impl Copy for MaintenanceMode
impl Eq for MaintenanceMode
impl StructuralPartialEq for MaintenanceMode
Auto Trait Implementations§
impl Freeze for MaintenanceMode
impl RefUnwindSafe for MaintenanceMode
impl Send for MaintenanceMode
impl Sync for MaintenanceMode
impl Unpin for MaintenanceMode
impl UnsafeUnpin for MaintenanceMode
impl UnwindSafe for MaintenanceMode
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