pub struct InstalledUpdate { /* private fields */ }Expand description
Result of applying or launching one re-verified staged update.
Implementations§
Source§impl InstalledUpdate
impl InstalledUpdate
pub fn version(&self) -> &str
pub const fn disposition(&self) -> UpdateInstallDisposition
pub fn installed_path(&self) -> &Path
pub fn backup_path(&self) -> Option<&Path>
pub const fn installer_process_id(&self) -> Option<u32>
pub const fn requires_application_exit(&self) -> bool
pub const fn relaunch_recommended(&self) -> bool
Trait Implementations§
Source§impl Clone for InstalledUpdate
impl Clone for InstalledUpdate
Source§fn clone(&self) -> InstalledUpdate
fn clone(&self) -> InstalledUpdate
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 InstalledUpdate
impl Debug for InstalledUpdate
impl Eq for InstalledUpdate
Source§impl PartialEq for InstalledUpdate
impl PartialEq for InstalledUpdate
impl StructuralPartialEq for InstalledUpdate
Auto Trait Implementations§
impl Freeze for InstalledUpdate
impl RefUnwindSafe for InstalledUpdate
impl Send for InstalledUpdate
impl Sync for InstalledUpdate
impl Unpin for InstalledUpdate
impl UnsafeUnpin for InstalledUpdate
impl UnwindSafe for InstalledUpdate
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