Skip to main content

Resolve

Trait Resolve 

Source
pub trait Resolve:
    Any
    + Send
    + Sync
    + Display
    + Debug {
    // Required method
    fn lookup<'l>(&'l self, name: &'l str) -> ResolveFuture<'l>;
}
Expand description

Resolves names into QUIC peer endpoints.

The result is a stream to allow implementations that yield endpoints over time (e.g. multi-source resolvers, H3x Dns, Mdns).

Required Methods§

Source

fn lookup<'l>(&'l self, name: &'l str) -> ResolveFuture<'l>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§