pub enum Install {
Cargo,
Installer {
dir: PathBuf,
app: &'static str,
},
}Expand description
How the running program was installed, which says how to update it.
Variants§
Cargo
With cargo install, which keeps its own record of what it installed: the installer would replace the
file behind cargo’s back.
Installer
By the installer, into dir, with app (its --app) there.
Trait Implementations§
impl Eq for Install
impl StructuralPartialEq for Install
Auto Trait Implementations§
impl Freeze for Install
impl RefUnwindSafe for Install
impl Send for Install
impl Sync for Install
impl Unpin for Install
impl UnsafeUnpin for Install
impl UnwindSafe for Install
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<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.