Skip to main content

Next

Trait Next 

Source
pub trait Next: Send + Sync {
    // Required method
    fn call(self, request: Request) -> impl Future<Output = Response> + Send;
}

Required Methods§

Source

fn call(self, request: Request) -> impl Future<Output = Response> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§