Trait HappyEyeballAddressResolverExt
pub trait HappyEyeballAddressResolverExt: HappyEyeballAddressResolverExtSeal {
// Required method
fn happy_eyeballs_resolver(
&self,
host: impl Into<Host>,
) -> HappyEyeballAddressResolver<'_, Self>;
}Expand description
Extension trait to easily stream IP lookups using the Happy Eyeball algorithm
Required Methods§
fn happy_eyeballs_resolver(
&self,
host: impl Into<Host>,
) -> HappyEyeballAddressResolver<'_, Self>
fn happy_eyeballs_resolver( &self, host: impl Into<Host>, ) -> HappyEyeballAddressResolver<'_, Self>
Build a happy eyeballs address resolver using a reference to the current address resolver.
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.