pub enum PinFreshness {
Unknown,
Current {
pin: String,
},
Behind(Pending),
}Expand description
How the pin compares with the newest release the cache records.
Variants§
Unknown
No single wired pin, no cache, no recorded release, or the loop is switched off, so nothing can be said.
Current
The pin names the newest recorded release, or a newer one.
Behind(Pending)
A newer release is out than the pin.
Trait Implementations§
Source§impl Clone for PinFreshness
impl Clone for PinFreshness
Source§impl Debug for PinFreshness
impl Debug for PinFreshness
impl Eq for PinFreshness
Source§impl PartialEq for PinFreshness
impl PartialEq for PinFreshness
impl StructuralPartialEq for PinFreshness
Auto Trait Implementations§
impl Forget for PinFreshness
impl Freeze for PinFreshness
impl Move for PinFreshness
impl RefUnwindSafe for PinFreshness
impl Send for PinFreshness
impl Sync for PinFreshness
impl Unpin for PinFreshness
impl UnsafeUnpin for PinFreshness
impl UnwindSafe for PinFreshness
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.