Skip to main content

Resolver

Trait Resolver 

Source
pub trait Resolver:
    Send
    + Sync
    + 'static
    + Send {
    // Required method
    fn resolve(
        &self,
        name: &CheetahString,
    ) -> impl Future<Output = Option<CheetahString>> + Send;
}

Required Methods§

Source

fn resolve( &self, name: &CheetahString, ) -> impl Future<Output = Option<CheetahString>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§