pub enum ApplyResult {
Success {
from_version: String,
to_version: String,
post_action: PostAction,
},
UpToDate {
current: String,
},
NeedsRestart {
message: String,
},
Failed {
error: Box<UpdateKitError>,
rollback_succeeded: bool,
},
}Expand description
The result of applying an update.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApplyResult
impl !RefUnwindSafe for ApplyResult
impl Send for ApplyResult
impl Sync for ApplyResult
impl Unpin for ApplyResult
impl UnsafeUnpin for ApplyResult
impl !UnwindSafe for ApplyResult
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