pub fn as_const_str(self) -> &'static str {
        match self {
            Role::Transform => TRANSFORM,
            Role::Source => SOURCE,
            Role::Sink => SINK,
        }
    }
/// 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 {
            Role::Transform => TRANSFORM,
            Role::Source => SOURCE,
            Role::Sink => SINK,
        }
    }
pub fn as_const_str ( self ) -> & ' static str { match self { Role :: Transform => TRANSFORM , Role :: Source => SOURCE , Role :: Sink => SINK , } }
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