pub enum OmahaStatus {
Ok,
Restricted,
NoUpdate,
Error(String),
}
Variants§
Ok
Restricted
The product is recognized, but due to policy restrictions the server must refuse to give a meaningful response.
NoUpdate
No update is available for this client at this time.
Error(String)
Trait Implementations§
Source§impl Clone for OmahaStatus
impl Clone for OmahaStatus
Source§fn clone(&self) -> OmahaStatus
fn clone(&self) -> OmahaStatus
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 OmahaStatus
impl Debug for OmahaStatus
Source§impl Default for OmahaStatus
impl Default for OmahaStatus
Source§fn default() -> OmahaStatus
fn default() -> OmahaStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OmahaStatus
impl<'de> Deserialize<'de> for OmahaStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OmahaStatus
impl PartialEq for OmahaStatus
impl Eq for OmahaStatus
impl StructuralPartialEq for OmahaStatus
Auto Trait Implementations§
impl Freeze for OmahaStatus
impl RefUnwindSafe for OmahaStatus
impl Send for OmahaStatus
impl Sync for OmahaStatus
impl Unpin for OmahaStatus
impl UnwindSafe for OmahaStatus
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)