pub trait Lookup: Sync + Send {
// Required method
fn lookup_txt<'a>(
&'a self,
name: &'a str,
) -> BoxFuture<'a, Result<Vec<String>, DKIMError>>;
}
Expand description
A trait for entities that perform DNS resolution.
pub trait Lookup: Sync + Send {
// Required method
fn lookup_txt<'a>(
&'a self,
name: &'a str,
) -> BoxFuture<'a, Result<Vec<String>, DKIMError>>;
}
A trait for entities that perform DNS resolution.