pub enum SkipReason {
Ignored,
TooLarge {
len: u64,
max: u64,
},
Unrepresentable,
CaseCollision {
other: String,
},
Symlink,
ContentUnavailable,
Occupied,
Io(String),
}Expand description
Why a path was not synced on this replica.
Variants§
Ignored
Excluded by the built-in rule or .sapphireignore.
TooLarge
Unrepresentable
The local OS cannot represent the path.
CaseCollision
Another path differing only in case is already on disk.
Symlink
Not available locally and the content source could not provide the bytes.
Occupied
The local path holds something this replica has not recorded (a directory, a symlink, or a file it cannot hash within the size cap), so it is left untouched.
Io(String)
A per-path I/O error kept this path from being reconciled; sync continues with
other paths. The message is the underlying error’s Display.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
Source§fn clone(&self) -> SkipReason
fn clone(&self) -> SkipReason
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 SkipReason
impl Debug for SkipReason
impl Eq for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
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