pub enum UpgradeMethod {
Brew,
Github,
CargoSource,
CargoCrates,
}Expand description
Installation method for upgrading mi6.
Variants§
Brew
Homebrew (brew install mi6)
Github
GitHub releases (standalone binary)
CargoSource
Cargo from local source (cargo install –path)
CargoCrates
Cargo from crates.io (cargo install mi6)
Trait Implementations§
Source§impl Clone for UpgradeMethod
impl Clone for UpgradeMethod
Source§fn clone(&self) -> UpgradeMethod
fn clone(&self) -> UpgradeMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpgradeMethod
impl Debug for UpgradeMethod
Source§impl PartialEq for UpgradeMethod
impl PartialEq for UpgradeMethod
Source§impl ValueEnum for UpgradeMethod
impl ValueEnum for UpgradeMethod
impl Copy for UpgradeMethod
impl Eq for UpgradeMethod
impl StructuralPartialEq for UpgradeMethod
Auto Trait Implementations§
impl Freeze for UpgradeMethod
impl RefUnwindSafe for UpgradeMethod
impl Send for UpgradeMethod
impl Sync for UpgradeMethod
impl Unpin for UpgradeMethod
impl UnwindSafe for UpgradeMethod
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