pub struct SupervisorStatus {
pub state: SupervisorState,
pub launches: u64,
pub pid: Option<u32>,
}Expand description
A snapshot of the supervisor, from SupervisorHandle::status.
Fields§
§state: SupervisorState§launches: u64Children started so far (the running one included).
pid: Option<u32>The running child’s process id, when there is one.
Trait Implementations§
Source§impl Clone for SupervisorStatus
impl Clone for SupervisorStatus
impl Copy for SupervisorStatus
Source§impl Debug for SupervisorStatus
impl Debug for SupervisorStatus
impl Eq for SupervisorStatus
Source§impl PartialEq for SupervisorStatus
impl PartialEq for SupervisorStatus
impl StructuralPartialEq for SupervisorStatus
Auto Trait Implementations§
impl Freeze for SupervisorStatus
impl RefUnwindSafe for SupervisorStatus
impl Send for SupervisorStatus
impl Sync for SupervisorStatus
impl Unpin for SupervisorStatus
impl UnsafeUnpin for SupervisorStatus
impl UnwindSafe for SupervisorStatus
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