pub enum LinkState {
Missing,
Ours,
Broken {
target: PathBuf,
},
OtherCopy {
target: PathBuf,
},
ForeignLink {
target: PathBuf,
},
File,
Folder,
}Expand description
What one location holds.
Variants§
Missing
Nothing there.
Ours
A link to this app’s tool.
Broken
A link to a missing …/Contents/Helpers/<name>: the app moved or was deleted. Repaired
by installing.
OtherCopy
A link to the same tool in another copy of the app.
ForeignLink
A link to something else, or a broken link that was never ours.
File
A regular file.
Folder
A folder (never replaced).
Trait Implementations§
impl Eq for LinkState
impl StructuralPartialEq for LinkState
Auto Trait Implementations§
impl Freeze for LinkState
impl RefUnwindSafe for LinkState
impl Send for LinkState
impl Sync for LinkState
impl Unpin for LinkState
impl UnsafeUnpin for LinkState
impl UnwindSafe for LinkState
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