pub struct RestartIntent {
pub generation: u64,
pub attempted: bool,
}Expand description
The operator asked for a daemon restart while this approved generation awaited one. The next start may warm it up exactly once.
Fields§
§generation: u64§attempted: boolSet durably before the daemon boots this generation. A start that finds it set knows the earlier warm-up never recorded readiness.
Trait Implementations§
Source§impl Clone for RestartIntent
impl Clone for RestartIntent
impl Copy for RestartIntent
Source§impl Debug for RestartIntent
impl Debug for RestartIntent
Source§impl<'de> Deserialize<'de> for RestartIntent
impl<'de> Deserialize<'de> for RestartIntent
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 RestartIntent
Source§impl PartialEq for RestartIntent
impl PartialEq for RestartIntent
Source§impl Serialize for RestartIntent
impl Serialize for RestartIntent
impl StructuralPartialEq for RestartIntent
Auto Trait Implementations§
impl Forget for RestartIntent
impl Freeze for RestartIntent
impl Move for RestartIntent
impl RefUnwindSafe for RestartIntent
impl Send for RestartIntent
impl Sync for RestartIntent
impl Unpin for RestartIntent
impl UnsafeUnpin for RestartIntent
impl UnwindSafe for RestartIntent
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