Struct gix_worktree_state::checkout::Collision
source · pub struct Collision {
pub path: BString,
pub error_kind: ErrorKind,
}
Expand description
Information about a path that failed to checkout as something else was already present.
Fields§
§path: BString
the path that collided with something already present on disk.
error_kind: ErrorKind
The io error we encountered when checking out path
.
Trait Implementations§
source§impl Ord for Collision
impl Ord for Collision
source§impl PartialEq for Collision
impl PartialEq for Collision
source§impl PartialOrd for Collision
impl PartialOrd for Collision
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Collision
impl StructuralEq for Collision
impl StructuralPartialEq for Collision
Auto Trait Implementations§
impl RefUnwindSafe for Collision
impl Send for Collision
impl Sync for Collision
impl Unpin 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more