pub(crate) fn name(self) -> Option<&'static str> {
        match self {
            ContractMode::Always => Some(""),
            ContractMode::Disabled | ContractMode::LogOnly => None,
            ContractMode::Debug => Some("debug_"),
            ContractMode::Test => Some("test_"),
        }
    }
/// Return the prefix of attributes of `self` mode.
Return the prefix of attributes of `self` mode.
Return the prefix of attributes of ` self ` mode .
pub(crate) fn name(self) -> Option<&'static str> {
        match self {
            ContractMode::Always => Some(""),
            ContractMode::Disabled | ContractMode::LogOnly => None,
            ContractMode::Debug => Some("debug_"),
            ContractMode::Test => Some("test_"),
        }
    }
pub ( crate ) fn name ( self ) -> Option < & ' static str > { match self { ContractMode :: Always => Some ( " " ) , ContractMode :: Disabled | ContractMode :: LogOnly => None , ContractMode :: Debug => Some ( " " ) , ContractMode :: Test => Some ( " " ) , } }
Return the prefix of attributes of `self` mode.
Return the prefix of attributes of ` self ` mode .
self
self