pub struct DaemonPointers {
pub active: u64,
pub awaiting_restart: Option<u64>,
pub restart: Option<RestartIntent>,
}Expand description
Durable daemon generation pointers. Required in every store body: a body without them is malformed and opens in recovery.
Fields§
§active: u64The newest generation whose daemon_restart changes a daemon has put
into effect: the stamp, a recovery exit, or a restart boot that recorded
readiness. Later generations without such changes take effect when they
commit; see StoreBody::active_daemon_generation.
awaiting_restart: Option<u64>The first generation after active with a change that waits for a
daemon restart. Approved bytes are cumulative, so neither it nor any
later generation is active until a restart warms one of them up.
restart: Option<RestartIntent>Trait Implementations§
Source§impl Clone for DaemonPointers
impl Clone for DaemonPointers
Source§impl Debug for DaemonPointers
impl Debug for DaemonPointers
Source§impl Default for DaemonPointers
impl Default for DaemonPointers
Source§impl<'de> Deserialize<'de> for DaemonPointers
impl<'de> Deserialize<'de> for DaemonPointers
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 DaemonPointers
Source§impl PartialEq for DaemonPointers
impl PartialEq for DaemonPointers
Source§impl Serialize for DaemonPointers
impl Serialize for DaemonPointers
impl StructuralPartialEq for DaemonPointers
Auto Trait Implementations§
impl Forget for DaemonPointers
impl Freeze for DaemonPointers
impl Move for DaemonPointers
impl RefUnwindSafe for DaemonPointers
impl Send for DaemonPointers
impl Sync for DaemonPointers
impl Unpin for DaemonPointers
impl UnsafeUnpin for DaemonPointers
impl UnwindSafe for DaemonPointers
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