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
Functions§
- get_
mx_ negative_ ttl - get_
mx_ timeout - get_
mx_ transient_ negative_ ttl - is_
dane_ enabled - is_
mta_ sts_ enabled - set_
dane_ enabled - Enables or disables the TLSA probe. Takes effect only for resolutions performed after the call: already-cached resolutions keep the site_name they were given until their TTL expires.
- set_
mta_ sts_ enabled - set_
mx_ concurrency_ limit - set_
mx_ negative_ cache_ ttl - set_
mx_ timeout - set_
mx_ transient_ negative_ cache_ ttl