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 StructuralPartialEq for Collision
Auto Trait Implementations§
impl Freeze for Collision
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)