pub fn as_const_str(&self) -> &'static str {
        match self {
            State::Beginning => BEGINNING,
            State::Completed => COMPLETED,
            State::Cached => CACHED,
        }
    }
/// Cheaply turn into a `&'static str` so you don't need to format it for metrics.
Cheaply turn into a `&'static str` so you don't need to format it for metrics.
Cheaply turn into a ` & ' static str ` so you don ' t need to format it for metrics .
pub fn as_const_str(&self) -> &'static str {
        match self {
            State::Beginning => BEGINNING,
            State::Completed => COMPLETED,
            State::Cached => CACHED,
        }
    }
pub fn as_const_str ( & self ) -> & ' static str { match self { State :: Beginning => BEGINNING , State :: Completed => COMPLETED , State :: Cached => CACHED , } }
Cheaply turn into a `&'static str` so you don't need to format it for metrics.
Cheaply turn into a ` & ' static str ` so you don ' t need to format it for metrics .
&self