pub struct UpdateJob { /* private fields */ }Expand description
An update running in the background.
Implementations§
Source§impl UpdateJob
impl UpdateJob
Sourcepub fn start(target: &RemoteTarget) -> Self
pub fn start(target: &RemoteTarget) -> Self
Starts updating the host target connects to, to this version.
Sourcepub fn start_self(version: &str, exe: &Path) -> Self
pub fn start_self(version: &str, exe: &Path) -> Self
Starts updating this machine’s copy at exe to version. exe
must be taken at startup: once replaced, the running program’s
path reads “… (deleted)” on Linux.
Auto Trait Implementations§
impl !Sync for UpdateJob
impl Freeze for UpdateJob
impl RefUnwindSafe for UpdateJob
impl Send for UpdateJob
impl Unpin for UpdateJob
impl UnsafeUnpin for UpdateJob
impl UnwindSafe for UpdateJob
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