pub struct Collision {
pub path: String,
pub reason: String,
pub replaceable: bool,
}Expand description
One destination the landing refuses before any write.
It is a whole-file destination present on disk with no receipt entry attributing it, a recorded rendered file or region whose bytes the record no longer vouches for, or a document whose markers offer the block no place.
Fields§
§path: StringThe destination.
reason: StringWhy it refuses.
replaceable: boolWhether it is a conflict --replace may name: a regular file whose
bytes a landing could save and overwrite. A defective marker or a
linked parent is no conflict, and only a fix to the target clears
it.
Trait Implementations§
impl Eq for Collision
impl StructuralPartialEq for Collision
Auto Trait Implementations§
impl Forget for Collision
impl Freeze for Collision
impl Move for Collision
impl RefUnwindSafe for Collision
impl Send for Collision
impl Sync for Collision
impl Unpin for Collision
impl UnsafeUnpin for Collision
impl UnwindSafe for Collision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.