pub enum AbsorbDecision {
RelinkOnly,
AutoAbsorb,
NeedsConfirm,
InSync,
Restore,
}Variants§
RelinkOnly
Inode broken but contents identical — relink only.
AutoAbsorb
target.mtime > source.mtime, contents differ → backup source, copy target → source, relink.
NeedsConfirm
source.mtime ≥ target.mtime, contents differ → diff + ask (anomaly).
InSync
target equals source via current link mode — nothing to do.
Restore
target missing → re-link from source.
Trait Implementations§
Source§impl Clone for AbsorbDecision
impl Clone for AbsorbDecision
Source§fn clone(&self) -> AbsorbDecision
fn clone(&self) -> AbsorbDecision
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 AbsorbDecision
impl Debug for AbsorbDecision
Source§impl PartialEq for AbsorbDecision
impl PartialEq for AbsorbDecision
Source§fn eq(&self, other: &AbsorbDecision) -> bool
fn eq(&self, other: &AbsorbDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AbsorbDecision
impl Eq for AbsorbDecision
impl StructuralPartialEq for AbsorbDecision
Auto Trait Implementations§
impl Freeze for AbsorbDecision
impl RefUnwindSafe for AbsorbDecision
impl Send for AbsorbDecision
impl Sync for AbsorbDecision
impl Unpin for AbsorbDecision
impl UnsafeUnpin for AbsorbDecision
impl UnwindSafe for AbsorbDecision
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