pub struct SupervisorCounts {
pub specs: usize,
pub active: usize,
pub supervisors: usize,
pub workers: usize,
}Expand description
Contains the counts of all of the supervised children.
Fields§
§specs: usizeThe total count of children, dead or alive.
active: usizeThe count of all actively running child processes managed by this supervisor.
supervisors: usizeThe count of all children marked as supervisor dead or alive.
workers: usizeThe count of all children marked as worker dead or alive.
Trait Implementations§
Source§impl Debug for SupervisorCounts
impl Debug for SupervisorCounts
Source§impl<'de> Deserialize<'de> for SupervisorCounts
impl<'de> Deserialize<'de> for SupervisorCounts
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
Auto Trait Implementations§
impl Freeze for SupervisorCounts
impl RefUnwindSafe for SupervisorCounts
impl Send for SupervisorCounts
impl Sync for SupervisorCounts
impl Unpin for SupervisorCounts
impl UnwindSafe for SupervisorCounts
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