Structs§
- Mail
Exchanger - MxResolve
Error - An MX resolution failure: its
MxResolveFailureclassification together with a human-readablemessage.Displaywritesmessageverbatim, which means{err}formatting (includinganyhow!("{err}")and log output) reproduces that text. Conversion toanyhow::Errorkeeps this concrete type rather than erasing it: a caller holding the resultinganyhow::Errorcan recover the classification withdowncast_ref::<MxResolveError>().
Enums§
- MxResolve
Failure - How resolving a domain’s MX failed, classified by what the DNS exchange
established. A caller that needs to act on a specific case (such as
NXDOMAIN) can match on this after recovering the
MxResolveErrorwithdowncast_ref, rather than matching on the message text. - Policy
Mode - Resolved
MxAddresses