pub enum Refuse {
Foreign {
path: PathBuf,
why: ForeignWhy,
},
Symlink {
path: PathBuf,
target: Option<PathBuf>,
},
NotARegularFile {
path: PathBuf,
},
Tracked {
path: PathBuf,
},
TrackedUnknown {
path: PathBuf,
why: String,
},
Unstattable {
path: PathBuf,
why: String,
},
}Expand description
A refusal to touch a path, with the reason attached.
Carries the path rather than a name, because “commit-msg” is not enough to go and look at when four directories could hold one.
Variants§
Implementations§
Trait Implementations§
impl Eq for Refuse
impl StructuralPartialEq for Refuse
Auto Trait Implementations§
impl Freeze for Refuse
impl RefUnwindSafe for Refuse
impl Send for Refuse
impl Sync for Refuse
impl Unpin for Refuse
impl UnsafeUnpin for Refuse
impl UnwindSafe for Refuse
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