pub struct ShutdownSnapshot {
pub generation: u64,
pub ledger_entries: u32,
pub owned_tasks: u32,
pub owned_processes: u32,
pub mcp_routes: u32,
pub completions_published: u64,
}Expand description
Point-in-time shutdown progress while still Quiescing (v2).
Fields§
§generation: u64Shutdown generation id (shared by concurrent waiters).
ledger_entries: u32Ledger entries still present.
owned_tasks: u32Owned Tokio tasks still registered.
owned_processes: u32Owned child processes still registered.
mcp_routes: u32Outstanding MCP routes.
completions_published: u64Completion publications attempted so far in this generation.
Trait Implementations§
Source§impl Clone for ShutdownSnapshot
impl Clone for ShutdownSnapshot
Source§fn clone(&self) -> ShutdownSnapshot
fn clone(&self) -> ShutdownSnapshot
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 ShutdownSnapshot
impl Debug for ShutdownSnapshot
Source§impl Default for ShutdownSnapshot
impl Default for ShutdownSnapshot
Source§fn default() -> ShutdownSnapshot
fn default() -> ShutdownSnapshot
Returns the “default value” for a type. Read more
impl Eq for ShutdownSnapshot
Source§impl PartialEq for ShutdownSnapshot
impl PartialEq for ShutdownSnapshot
impl StructuralPartialEq for ShutdownSnapshot
Auto Trait Implementations§
impl Freeze for ShutdownSnapshot
impl RefUnwindSafe for ShutdownSnapshot
impl Send for ShutdownSnapshot
impl Sync for ShutdownSnapshot
impl Unpin for ShutdownSnapshot
impl UnsafeUnpin for ShutdownSnapshot
impl UnwindSafe for ShutdownSnapshot
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.