Enum omaha_client::protocol::request::EventErrorCode
source · #[repr(i32)]pub enum EventErrorCode {
ParseResponse = 0,
ConstructInstallPlan = 1,
Installation = 2,
DeniedByPolicy = 3,
}
Expand description
The error code of the event. These are application specific.
Variants§
ParseResponse = 0
Error when parsing Omaha response.
ConstructInstallPlan = 1
Error when constructing install plan.
Installation = 2
Error when installing the update.
DeniedByPolicy = 3
The update is denied by policy.
Trait Implementations§
source§impl Clone for EventErrorCode
impl Clone for EventErrorCode
source§fn clone(&self) -> EventErrorCode
fn clone(&self) -> EventErrorCode
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 EventErrorCode
impl Debug for EventErrorCode
source§impl Default for EventErrorCode
impl Default for EventErrorCode
source§fn default() -> EventErrorCode
fn default() -> EventErrorCode
Returns the “default value” for a type. Read more
source§impl PartialEq for EventErrorCode
impl PartialEq for EventErrorCode
source§fn eq(&self, other: &EventErrorCode) -> bool
fn eq(&self, other: &EventErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventErrorCode
impl Serialize for EventErrorCode
impl Eq for EventErrorCode
impl StructuralPartialEq for EventErrorCode
Auto Trait Implementations§
impl Freeze for EventErrorCode
impl RefUnwindSafe for EventErrorCode
impl Send for EventErrorCode
impl Sync for EventErrorCode
impl Unpin for EventErrorCode
impl UnwindSafe for EventErrorCode
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