pub fn apply_metric(&self) {
        match self {
            Self::Invalid(_) => metrics::DOMAIN_VALIDATION_INVALID_NAME.inc(),
            Self::Blocked => metrics::DOMAIN_VALIDATION_BLOCKED.inc(),
            Self::NullMx => metrics::DOMAIN_VALIDATION_NULL_MX.inc(),
            Self::NoServers => metrics::DOMAIN_VALIDATION_NO_SERVERS.inc(),
            Self::NoPublicIps => metrics::DOMAIN_VALIDATION_NO_PUBLIC_IPS.inc(),
        }
    }
/// Count this error in metrics.
Count this error in metrics.
Count this error in metrics .
pub fn apply_metric(&self) {
        match self {
            Self::Invalid(_) => metrics::DOMAIN_VALIDATION_INVALID_NAME.inc(),
            Self::Blocked => metrics::DOMAIN_VALIDATION_BLOCKED.inc(),
            Self::NullMx => metrics::DOMAIN_VALIDATION_NULL_MX.inc(),
            Self::NoServers => metrics::DOMAIN_VALIDATION_NO_SERVERS.inc(),
            Self::NoPublicIps => metrics::DOMAIN_VALIDATION_NO_PUBLIC_IPS.inc(),
        }
    }
pub fn apply_metric ( & self ) { match self { Self :: Invalid ( _ ) => metrics :: DOMAIN_VALIDATION_INVALID_NAME . inc ( ) , Self :: Blocked => metrics :: DOMAIN_VALIDATION_BLOCKED . inc ( ) , Self :: NullMx => metrics :: DOMAIN_VALIDATION_NULL_MX . inc ( ) , Self :: NoServers => metrics :: DOMAIN_VALIDATION_NO_SERVERS . inc ( ) , Self :: NoPublicIps => metrics :: DOMAIN_VALIDATION_NO_PUBLIC_IPS . inc ( ) , } }
Count this error in metrics.
Count this error in metrics .
&self
&self