pub enum CheckoutCopyPolicy {
PreferReflink,
FullCopy,
None,
}Expand description
How a bytes-on-disk checkout should populate the tree.
The CLI / materializer owns the actual clonefile / FICLONE / copy
calls. This only captures the pure policy intent from mode.
Variants§
PreferReflink
Prefer filesystem reflink/clonefile; fall back to full copy when the
host rejects it. Used for ThreadMode::Materialized.
FullCopy
Always perform a full byte copy. Used for ThreadMode::Solid.
None
No tree copy — virtualized mounts do not materialize bytes.
Trait Implementations§
Source§impl Clone for CheckoutCopyPolicy
impl Clone for CheckoutCopyPolicy
Source§fn clone(&self) -> CheckoutCopyPolicy
fn clone(&self) -> CheckoutCopyPolicy
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 moreimpl Copy for CheckoutCopyPolicy
Source§impl Debug for CheckoutCopyPolicy
impl Debug for CheckoutCopyPolicy
impl Eq for CheckoutCopyPolicy
Source§impl PartialEq for CheckoutCopyPolicy
impl PartialEq for CheckoutCopyPolicy
impl StructuralPartialEq for CheckoutCopyPolicy
Auto Trait Implementations§
impl Freeze for CheckoutCopyPolicy
impl RefUnwindSafe for CheckoutCopyPolicy
impl Send for CheckoutCopyPolicy
impl Sync for CheckoutCopyPolicy
impl Unpin for CheckoutCopyPolicy
impl UnsafeUnpin for CheckoutCopyPolicy
impl UnwindSafe for CheckoutCopyPolicy
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