Enum omaha_client::state_machine::update_check::Action
source · pub enum Action {
NoUpdate,
DeferredByPolicy,
DeniedByPolicy,
InstallPlanExecutionError,
Updated,
}
Expand description
The Action is the result of an update check for a single App. This is just informational, for the purposes of updating the protocol state. Any update action should already have been taken by the Installer.
Variants§
NoUpdate
Omaha’s response was “no update”
DeferredByPolicy
Policy deferred the update. The update check was successful, and Omaha returned that an update is available, but it is not able to be acted on at this time.
DeniedByPolicy
Policy Denied the update. The update check was successful, and Omaha returned that an update is available, but it is not allowed to be installed per Policy.
InstallPlanExecutionError
The install process encountered an error. TODO: Attach an error to this
Updated
An update was performed.
Trait Implementations§
source§impl PartialEq for Action
impl PartialEq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)