pub trait View:
Clone
+ Send
+ Sync
+ 'static {
// Required method
fn call(self, req: Request) -> Result<Response, Error>;
}Expand description
A request handler producing a response or an error.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".