#[non_exhaustive]pub enum Preserve {
Times,
Xattr,
Acl,
}Expand description
Extra properties clone_entry and clone_dir copy from the source. New kinds can be added.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Times
Keep the source times. Without it the new entry gets the current time.
Xattr
Copy extended attributes.
Acl
Copy access control lists.
Trait Implementations§
impl Copy for Preserve
impl Eq for Preserve
impl StructuralPartialEq for Preserve
Auto Trait Implementations§
impl Freeze for Preserve
impl RefUnwindSafe for Preserve
impl Send for Preserve
impl Sync for Preserve
impl Unpin for Preserve
impl UnsafeUnpin for Preserve
impl UnwindSafe for Preserve
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