#[non_exhaustive]pub enum PathIoOperation {
GitDir(GitDirPathOperation),
Worktree(WorktreePathOperation),
}Expand description
Which filesystem area a PathIoError refers to.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GitDir(GitDirPathOperation)
Path under the git directory (objects, refs, index, …).
Worktree(WorktreePathOperation)
Repository-relative worktree path.
Trait Implementations§
Source§impl Clone for PathIoOperation
impl Clone for PathIoOperation
impl Copy for PathIoOperation
Source§impl Debug for PathIoOperation
impl Debug for PathIoOperation
impl Eq for PathIoOperation
Source§impl Hash for PathIoOperation
impl Hash for PathIoOperation
Source§impl PartialEq for PathIoOperation
impl PartialEq for PathIoOperation
impl StructuralPartialEq for PathIoOperation
Auto Trait Implementations§
impl Forget for PathIoOperation
impl Freeze for PathIoOperation
impl RefUnwindSafe for PathIoOperation
impl Send for PathIoOperation
impl Sync for PathIoOperation
impl Unpin for PathIoOperation
impl UnsafeUnpin for PathIoOperation
impl UnwindSafe for PathIoOperation
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§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.