pub enum SnapshotTargetReason {
NoFinalName,
ParentMissing,
InsideStore,
NotADirectory,
NotEmpty,
}Expand description
Why a snapshot target was rejected.
Variants§
NoFinalName
The path has no final name component, such as / or a/...
ParentMissing
The target’s parent directory does not exist.
InsideStore
The target is the store directory or lies inside it.
NotADirectory
The target exists and is not a directory, such as a file or a link.
NotEmpty
The target is a directory that already has entries.
Trait Implementations§
Source§impl Clone for SnapshotTargetReason
impl Clone for SnapshotTargetReason
impl Copy for SnapshotTargetReason
Source§impl Debug for SnapshotTargetReason
impl Debug for SnapshotTargetReason
Source§impl Display for SnapshotTargetReason
impl Display for SnapshotTargetReason
impl Eq for SnapshotTargetReason
Source§impl PartialEq for SnapshotTargetReason
impl PartialEq for SnapshotTargetReason
impl StructuralPartialEq for SnapshotTargetReason
Auto Trait Implementations§
impl Freeze for SnapshotTargetReason
impl RefUnwindSafe for SnapshotTargetReason
impl Send for SnapshotTargetReason
impl Sync for SnapshotTargetReason
impl Unpin for SnapshotTargetReason
impl UnsafeUnpin for SnapshotTargetReason
impl UnwindSafe for SnapshotTargetReason
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