pub enum CommitResult {
Success,
Failed(&'static str),
Cancelled,
}Expand description
Result of download commit operation.
Variants§
Success
Download completed successfully, system should reboot
Failed(&'static str)
Download failed, error message available
Cancelled
User cancelled before commit
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommitResult
impl RefUnwindSafe for CommitResult
impl Send for CommitResult
impl Sync for CommitResult
impl Unpin for CommitResult
impl UnwindSafe for CommitResult
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