pub struct SupervisorStats {
pub total: usize,
pub running: usize,
pub stopped: usize,
pub restarting: usize,
pub total_restarts: u64,
}Expand description
Statistics about a supervisor’s children.
Fields§
§total: usizeTotal number of children.
running: usizeNumber of running children.
stopped: usizeNumber of stopped children.
restarting: usizeNumber of restarting children.
total_restarts: u64Total restarts across all children.
Trait Implementations§
Source§impl Clone for SupervisorStats
impl Clone for SupervisorStats
Source§fn clone(&self) -> SupervisorStats
fn clone(&self) -> SupervisorStats
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 SupervisorStats
impl Debug for SupervisorStats
Source§impl Default for SupervisorStats
impl Default for SupervisorStats
Source§fn default() -> SupervisorStats
fn default() -> SupervisorStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SupervisorStats
impl RefUnwindSafe for SupervisorStats
impl Send for SupervisorStats
impl Sync for SupervisorStats
impl Unpin for SupervisorStats
impl UnsafeUnpin for SupervisorStats
impl UnwindSafe for SupervisorStats
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