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§impl Debug for SupervisorStats
impl Debug for SupervisorStats
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