#[non_exhaustive]#[repr(u32)]pub enum cef_component_update_error_t {
CEF_COMPONENT_UPDATE_ERROR_NONE = 0,
CEF_COMPONENT_UPDATE_ERROR_UPDATE_IN_PROGRESS = 1,
CEF_COMPONENT_UPDATE_ERROR_UPDATE_CANCELED = 2,
CEF_COMPONENT_UPDATE_ERROR_RETRY_LATER = 3,
CEF_COMPONENT_UPDATE_ERROR_SERVICE_ERROR = 4,
CEF_COMPONENT_UPDATE_ERROR_UPDATE_CHECK_ERROR = 5,
CEF_COMPONENT_UPDATE_ERROR_CRX_NOT_FOUND = 6,
CEF_COMPONENT_UPDATE_ERROR_INVALID_ARGUMENT = 7,
CEF_COMPONENT_UPDATE_ERROR_BAD_CRX_DATA_CALLBACK = 8,
}Expand description
Component update error codes. These map to update_client::Error values from components/update_client/update_client_errors.h
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CEF_COMPONENT_UPDATE_ERROR_NONE = 0
No error.
CEF_COMPONENT_UPDATE_ERROR_UPDATE_IN_PROGRESS = 1
An update is already in progress for this component.
CEF_COMPONENT_UPDATE_ERROR_UPDATE_CANCELED = 2
The update was canceled.
CEF_COMPONENT_UPDATE_ERROR_RETRY_LATER = 3
The update should be retried later.
CEF_COMPONENT_UPDATE_ERROR_SERVICE_ERROR = 4
A service error occurred.
CEF_COMPONENT_UPDATE_ERROR_UPDATE_CHECK_ERROR = 5
An error occurred during the update check.
CEF_COMPONENT_UPDATE_ERROR_CRX_NOT_FOUND = 6
The component was not found.
CEF_COMPONENT_UPDATE_ERROR_INVALID_ARGUMENT = 7
An invalid argument was provided.
CEF_COMPONENT_UPDATE_ERROR_BAD_CRX_DATA_CALLBACK = 8
Bad CRX data callback.
Trait Implementations§
Source§impl Clone for cef_component_update_error_t
impl Clone for cef_component_update_error_t
Source§fn clone(&self) -> cef_component_update_error_t
fn clone(&self) -> cef_component_update_error_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 cef_component_update_error_t
impl Debug for cef_component_update_error_t
Source§impl Hash for cef_component_update_error_t
impl Hash for cef_component_update_error_t
Source§impl PartialEq for cef_component_update_error_t
impl PartialEq for cef_component_update_error_t
Source§fn eq(&self, other: &cef_component_update_error_t) -> bool
fn eq(&self, other: &cef_component_update_error_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cef_component_update_error_t
impl Eq for cef_component_update_error_t
impl StructuralPartialEq for cef_component_update_error_t
Auto Trait Implementations§
impl Freeze for cef_component_update_error_t
impl RefUnwindSafe for cef_component_update_error_t
impl Send for cef_component_update_error_t
impl Sync for cef_component_update_error_t
impl Unpin for cef_component_update_error_t
impl UnsafeUnpin for cef_component_update_error_t
impl UnwindSafe for cef_component_update_error_t
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