pub struct UpdateCancellation(/* private fields */);Expand description
Thread-safe cooperative cancellation for updater network, verification, and staging work.
Cancellation is observed between bounded I/O chunks and before any irreversible installer launch or atomic replacement. Once an atomic replacement has started, it finishes or rolls back instead of leaving a partially installed application.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateCancellation
impl Clone for UpdateCancellation
Source§fn clone(&self) -> UpdateCancellation
fn clone(&self) -> UpdateCancellation
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 UpdateCancellation
impl Debug for UpdateCancellation
Source§impl Default for UpdateCancellation
impl Default for UpdateCancellation
Source§fn default() -> UpdateCancellation
fn default() -> UpdateCancellation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateCancellation
impl RefUnwindSafe for UpdateCancellation
impl Send for UpdateCancellation
impl Sync for UpdateCancellation
impl Unpin for UpdateCancellation
impl UnsafeUnpin for UpdateCancellation
impl UnwindSafe for UpdateCancellation
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