pub struct RestartExecutorSnapshot {
pub healthy: bool,
pub pending: u64,
pub queue_capacity: usize,
pub worker_count: usize,
}Expand description
Immutable bounded restart-executor diagnostics.
Fields§
§healthy: boolWhether workers and queue remain available.
pending: u64Number of restart actions currently queued or executing.
queue_capacity: usizeConfigured queue capacity.
worker_count: usizeConfigured worker count.
Trait Implementations§
Source§impl Clone for RestartExecutorSnapshot
impl Clone for RestartExecutorSnapshot
Source§fn clone(&self) -> RestartExecutorSnapshot
fn clone(&self) -> RestartExecutorSnapshot
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 RestartExecutorSnapshot
impl Debug for RestartExecutorSnapshot
impl Eq for RestartExecutorSnapshot
Source§impl PartialEq for RestartExecutorSnapshot
impl PartialEq for RestartExecutorSnapshot
impl StructuralPartialEq for RestartExecutorSnapshot
Auto Trait Implementations§
impl Freeze for RestartExecutorSnapshot
impl RefUnwindSafe for RestartExecutorSnapshot
impl Send for RestartExecutorSnapshot
impl Sync for RestartExecutorSnapshot
impl Unpin for RestartExecutorSnapshot
impl UnsafeUnpin for RestartExecutorSnapshot
impl UnwindSafe for RestartExecutorSnapshot
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