pub struct Incarnation {
pub holder_id: String,
pub epoch: u64,
pub last_token: Option<String>,
pub quiet_polls: u32,
}Expand description
The pod-incarnation identity + lease bookkeeping ({last_token, quiet_polls} persist so container restarts RESUME the takeover observation instead of resetting it — plan §2.1).
Fields§
§holder_id: String§epoch: u64§last_token: Option<String>§quiet_polls: u32Trait Implementations§
Source§impl Clone for Incarnation
impl Clone for Incarnation
Source§fn clone(&self) -> Incarnation
fn clone(&self) -> Incarnation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Incarnation
impl Debug for Incarnation
Source§impl<'de> Deserialize<'de> for Incarnation
impl<'de> Deserialize<'de> for Incarnation
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
Auto Trait Implementations§
impl Freeze for Incarnation
impl RefUnwindSafe for Incarnation
impl Send for Incarnation
impl Sync for Incarnation
impl Unpin for Incarnation
impl UnsafeUnpin for Incarnation
impl UnwindSafe for Incarnation
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