/// Status code string. These codes should not change.
Status code string. These codes should not change.
Status code string . These codes should not change .
pub fn as_code(&self) -> &str {
        match self {
            MangodStatus::Inactive => "not-started",
            MangodStatus::Unresponsive { .. } => "unresponsive",
            MangodStatus::Ok { .. } => "running",
        }
    }
pub fn as_code ( & self ) -> & str { match self { MangodStatus :: Inactive => " " , MangodStatus :: Unresponsive { .. } => " " , MangodStatus :: Ok { .. } => " " , } }
Status code string.
Status code string .
&self