pub struct StagedGeneration {
pub incarnation: String,
pub counter: u64,
}Expand description
Names one state of the daemon’s staged configuration. The counter alone is not enough: it starts again at zero when the daemon restarts, and a restarted daemon may hold different staged specs under the same number.
Fields§
§incarnation: StringThe daemon_incarnation the daemon stamps on its activity ledger and
spawn events: one value per daemon process lifetime.
counter: u64Moves each time an executed rescan sets out to change the supervised modules’ staged or applied configuration within that incarnation. It moves before the first change, so it also moves when that rescan fails partway.
Trait Implementations§
Source§impl Clone for StagedGeneration
impl Clone for StagedGeneration
Source§impl Debug for StagedGeneration
impl Debug for StagedGeneration
Source§impl<'de> Deserialize<'de> for StagedGeneration
impl<'de> Deserialize<'de> for StagedGeneration
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
impl Eq for StagedGeneration
Source§impl PartialEq for StagedGeneration
impl PartialEq for StagedGeneration
Source§impl Serialize for StagedGeneration
impl Serialize for StagedGeneration
impl StructuralPartialEq for StagedGeneration
Auto Trait Implementations§
impl Forget for StagedGeneration
impl Freeze for StagedGeneration
impl RefUnwindSafe for StagedGeneration
impl Send for StagedGeneration
impl Sync for StagedGeneration
impl Unpin for StagedGeneration
impl UnsafeUnpin for StagedGeneration
impl UnwindSafe for StagedGeneration
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