pub struct Written {
pub path: PathBuf,
pub replaced: HookFile,
}Expand description
One dispatcher that landed, and what stood at that path before it.
replaced exists so --force can say what it took. It printed
“baked 4 shims” and nothing else, which is a receipt for an act whose whole
point is that it destroys something — the user typed --force precisely
because there was a file there, and the one thing the output never said was
which files or what they were.
Fields§
§path: PathBuf§replaced: HookFileTrait Implementations§
Auto Trait Implementations§
impl Freeze for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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