pub struct StaleSecret {
pub key: String,
pub running: u64,
pub current: u64,
}Expand description
A secret a replica runs an older version of (on_change: none, or a
restart still to come).
Fields§
§key: String§running: u64The version its app started with.
current: u64The version bound now, delivered to its files.
Trait Implementations§
Source§impl Clone for StaleSecret
impl Clone for StaleSecret
Source§impl Debug for StaleSecret
impl Debug for StaleSecret
impl Eq for StaleSecret
Source§impl PartialEq for StaleSecret
impl PartialEq for StaleSecret
Source§impl Serialize for StaleSecret
impl Serialize for StaleSecret
impl StructuralPartialEq for StaleSecret
Auto Trait Implementations§
impl Freeze for StaleSecret
impl RefUnwindSafe for StaleSecret
impl Send for StaleSecret
impl Sync for StaleSecret
impl Unpin for StaleSecret
impl UnsafeUnpin for StaleSecret
impl UnwindSafe for StaleSecret
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.