Trait Resolve

Source
pub trait Resolve<Args = ()>: HasResponse {
    // Required method
    fn resolve(
        self,
        args: &Args,
    ) -> impl Future<Output = Result<Self::Response, Self::Error>>;
}

Required Methods§

Source

fn resolve( self, args: &Args, ) -> impl Future<Output = Result<Self::Response, Self::Error>>

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.

Implementors§