/// Mark this container as stopped -- the component is no longer running and we should not
/// serve lifecycle or inspect results.
///
/// Sets `inspect` and `lifecycle` to `None` so that this component will be excluded from
/// accessors for those data types.
Mark this container as stopped -- the component is no longer running and we should not
serve lifecycle or inspect results.


Mark this container as stopped -- the component is no longer running and we should not serve lifecycle or inspect results .
pub fn mark_stopped(&mut self) {
        debug!(%self.identity, "Marking stopped.");
        self.inspect = None;
        self.lifecycle = None;
        self.is_live = false;
        if let Some(logs) = &self.logs {
            logs.mark_stopped();
        }
    }
pub fn mark_stopped ( & mut self ) { debug ! ( self identity " " ) ; self . inspect = None ; self . lifecycle = None ; self . is_live = false ; if let Some ( logs ) = & self . logs { logs . mark_stopped ( ) ; } }
Mark this container as stopped -- the component is no longer running and we should not
serve lifecycle or inspect results.
Mark this container as stopped -- the component is no longer running and we should not serve lifecycle or inspect results .
&mut self