Trait StubResolverExt

Source
pub(crate) trait StubResolverExt {
    // Required method
    async fn tenant(&self, addr: &str) -> Option<String>;
}

Required Methods§

Source

async fn tenant(&self, addr: &str) -> Option<String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl StubResolverExt for StubResolver

Source§

async fn tenant(&self, addr: &str) -> Option<String>

Finds the tenant of a DNS address. Errors or lack of cname resolution here are ok, because this is only used for metrics.

Implementors§