Enum omaha_client::protocol::request::EventResult
source · #[repr(u8)]pub enum EventResult {
Error = 0,
Success = 1,
SuccessAndRestartRequired = 2,
SuccessAndAppRestartRequired = 3,
Cancelled = 4,
ErrorInSystemInstaller = 8,
UpdateDeferred = 9,
}
Expand description
The result of event that is being reported. These are specified by the Omaha protocol.
See https://github.com/google/omaha/blob/HEAD/doc/ServerProtocolV3.md#event-request
Variants§
Error = 0
Success = 1
SuccessAndRestartRequired = 2
SuccessAndAppRestartRequired = 3
Cancelled = 4
ErrorInSystemInstaller = 8
UpdateDeferred = 9
The client acknowledges that it received the ‘update’ response, but it will not be acting on the update at this time (deferred by Policy).
Trait Implementations§
source§impl Clone for EventResult
impl Clone for EventResult
source§fn clone(&self) -> EventResult
fn clone(&self) -> EventResult
Returns a copy of the value. Read more
1.0.0 · 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 EventResult
impl Debug for EventResult
source§impl Default for EventResult
impl Default for EventResult
source§fn default() -> EventResult
fn default() -> EventResult
Returns the “default value” for a type. Read more
source§impl PartialEq for EventResult
impl PartialEq for EventResult
source§fn eq(&self, other: &EventResult) -> bool
fn eq(&self, other: &EventResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventResult
impl Serialize for EventResult
impl Eq for EventResult
impl StructuralPartialEq for EventResult
Auto Trait Implementations§
impl Freeze for EventResult
impl RefUnwindSafe for EventResult
impl Send for EventResult
impl Sync for EventResult
impl Unpin for EventResult
impl UnwindSafe for EventResult
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
)