Enum msg_auth_status::iprev::IpRevResultCode
source · pub enum IpRevResultCode {
Unknown,
Pass,
Fail,
TempError,
PermError,
}Expand description
IpRev Result Codes - s.2.7.3
Variants§
Unknown
Result code not seen
Pass
The DNS evaluation succeeded, i.e., the “reverse” and “forward” lookup results were returned and were in agreement.
Fail
The DNS evaluation failed. In particular, the “reverse” and “forward” lookups each produced results, but they were not in agreement, or the “forward” query completed but produced no result, e.g., a DNS RCODE of 3, commonly known as NXDOMAIN, or an RCODE of 0 (NOERROR) in a reply containing no answers, was returned.
TempError
The DNS evaluation could not be completed due to some error that is likely transient in nature, such as a temporary DNS error, e.g., a DNS RCODE of 2, commonly known as SERVFAIL, or other error condition resulted. A later attempt may produce a final result.
PermError
The DNS evaluation could not be completed because no PTR data are published for the connecting IP address, e.g., a DNS RCODE of 3, commonly known as NXDOMAIN, or an RCODE of 0 (NOERROR) in a reply containing no answers, was returned. This prevented completion of the evaluation. A later attempt is unlikely to produce a final result.
Trait Implementations§
source§impl Clone for IpRevResultCode
impl Clone for IpRevResultCode
source§fn clone(&self) -> IpRevResultCode
fn clone(&self) -> IpRevResultCode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IpRevResultCode
impl Debug for IpRevResultCode
source§impl Default for IpRevResultCode
impl Default for IpRevResultCode
source§fn default() -> IpRevResultCode
fn default() -> IpRevResultCode
source§impl PartialEq for IpRevResultCode
impl PartialEq for IpRevResultCode
source§fn eq(&self, other: &IpRevResultCode) -> bool
fn eq(&self, other: &IpRevResultCode) -> bool
self and other values to be equal, and is used
by ==.