Skip to main content

LoaderClientProxyInterface

Trait LoaderClientProxyInterface 

Source
pub trait LoaderClientProxyInterface: Send + Sync {
    type OnResponseResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn on_response(&self, response: Response) -> Self::OnResponseResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn on_response(&self, response: Response) -> Self::OnResponseResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§