pub enum CodexUpdateStatus {
UpToDate,
UpdateRecommended,
LocalNewerThanKnown,
UnknownLocalVersion,
UnknownLatestVersion,
}Expand description
Enum summarizing whether an update is needed based on provided release data.
Variants§
UpToDate
Local binary matches the latest known release for the comparison channel.
UpdateRecommended
A newer release exists for the comparison channel.
LocalNewerThanKnown
Local binary appears newer than the provided release table (e.g., dev build).
UnknownLocalVersion
No local version data was available (probe failure).
UnknownLatestVersion
Caller did not provide a comparable latest release.
Trait Implementations§
Source§impl Clone for CodexUpdateStatus
impl Clone for CodexUpdateStatus
Source§fn clone(&self) -> CodexUpdateStatus
fn clone(&self) -> CodexUpdateStatus
Returns a duplicate 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 CodexUpdateStatus
impl Debug for CodexUpdateStatus
Source§impl<'de> Deserialize<'de> for CodexUpdateStatus
impl<'de> Deserialize<'de> for CodexUpdateStatus
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 CodexUpdateStatus
impl PartialEq for CodexUpdateStatus
Source§impl Serialize for CodexUpdateStatus
impl Serialize for CodexUpdateStatus
impl Copy for CodexUpdateStatus
impl Eq for CodexUpdateStatus
impl StructuralPartialEq for CodexUpdateStatus
Auto Trait Implementations§
impl Freeze for CodexUpdateStatus
impl RefUnwindSafe for CodexUpdateStatus
impl Send for CodexUpdateStatus
impl Sync for CodexUpdateStatus
impl Unpin for CodexUpdateStatus
impl UnsafeUnpin for CodexUpdateStatus
impl UnwindSafe for CodexUpdateStatus
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.