pub enum UpgradeTarget {
Launcher(PathBuf),
Installer {
installer: PathBuf,
sha256: String,
},
}Expand description
What an upgrade restarts into.
Variants§
Launcher(PathBuf)
A portable’s new folder: start this launcher.
Installer
A setup.exe install: run this installer, then start AgentMux again.
sha256 (lowercase hex) is the release’s digest: the launcher checks
it again on the very file it runs.
Trait Implementations§
Source§impl Clone for UpgradeTarget
impl Clone for UpgradeTarget
Source§fn clone(&self) -> UpgradeTarget
fn clone(&self) -> UpgradeTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpgradeTarget
impl Debug for UpgradeTarget
impl Eq for UpgradeTarget
Source§impl PartialEq for UpgradeTarget
impl PartialEq for UpgradeTarget
impl StructuralPartialEq for UpgradeTarget
Auto Trait Implementations§
impl Freeze for UpgradeTarget
impl RefUnwindSafe for UpgradeTarget
impl Send for UpgradeTarget
impl Sync for UpgradeTarget
impl Unpin for UpgradeTarget
impl UnsafeUnpin for UpgradeTarget
impl UnwindSafe for UpgradeTarget
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