Skip to main content

discover_with

Function discover_with 

Source
pub(crate) fn discover_with(
    address: &str,
    mx: impl Fn(&str) -> Option<Vec<String>>,
) -> Result<Found, SyncError>
Expand description

discover, the domain’s MX asked of mx (the system’s DNS, or a stand-in in tests).