#[repr(u32)]pub enum CheckNotStartedReason {
Internal = 1,
InvalidOptions = 2,
AlreadyInProgress = 3,
Throttled = 4,
}
Expand description
This is the set of values that are returned by an request to immediately check for an update.
Variants§
Internal = 1
There was an internal error in starting the update check. The client is not expected to be able to do something meaningful about this error, except to try again later (after an appropriate delay and back-off in the event of multiple errors.
InvalidOptions = 2
If there are required arguments or options (or option values in conflict), provided via the CheckOptions table to CheckNow, this error will be returned.
AlreadyInProgress = 3
There was already another update check in progress when this request was made. A new update check will not be started.
Throttled = 4
The update check was not started, because too many requests to check for updates have been made by clients in a short period of time.
NOTE: Clients MUST NOT attempt to cause background update checks to happen at a more frequent rate than the fuchsia.update.Manager will do them.
If a client attempts to abuse this, it will be throttled.
Implementations§
Source§impl CheckNotStartedReason
impl CheckNotStartedReason
pub fn from_primitive(prim: u32) -> Option<Self>
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
is_unknown
Trait Implementations§
Source§impl Clone for CheckNotStartedReason
impl Clone for CheckNotStartedReason
Source§fn clone(&self) -> CheckNotStartedReason
fn clone(&self) -> CheckNotStartedReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CheckNotStartedReason
impl Debug for CheckNotStartedReason
Source§impl<D: ResourceDialect> Decode<CheckNotStartedReason, D> for CheckNotStartedReason
impl<D: ResourceDialect> Decode<CheckNotStartedReason, D> for CheckNotStartedReason
Source§impl<D: ResourceDialect> Encode<CheckNotStartedReason, D> for CheckNotStartedReason
impl<D: ResourceDialect> Encode<CheckNotStartedReason, D> for CheckNotStartedReason
Source§impl Hash for CheckNotStartedReason
impl Hash for CheckNotStartedReason
Source§impl Ord for CheckNotStartedReason
impl Ord for CheckNotStartedReason
Source§fn cmp(&self, other: &CheckNotStartedReason) -> Ordering
fn cmp(&self, other: &CheckNotStartedReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for CheckNotStartedReason
impl PartialEq for CheckNotStartedReason
Source§impl PartialOrd for CheckNotStartedReason
impl PartialOrd for CheckNotStartedReason
Source§impl TypeMarker for CheckNotStartedReason
impl TypeMarker for CheckNotStartedReason
Source§type Owned = CheckNotStartedReason
type Owned = CheckNotStartedReason
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for CheckNotStartedReason
impl ValueTypeMarker for CheckNotStartedReason
Source§type Borrowed<'a> = CheckNotStartedReason
type Borrowed<'a> = CheckNotStartedReason
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for CheckNotStartedReason
impl Eq for CheckNotStartedReason
impl StructuralPartialEq for CheckNotStartedReason
Auto Trait Implementations§
impl Freeze for CheckNotStartedReason
impl RefUnwindSafe for CheckNotStartedReason
impl Send for CheckNotStartedReason
impl Sync for CheckNotStartedReason
impl Unpin for CheckNotStartedReason
impl UnwindSafe for CheckNotStartedReason
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
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)
clone_to_uninit
)