Skip to main content

IntoRawHandler

Trait IntoRawHandler 

Source
pub trait IntoRawHandler {
    // Required method
    fn into_raw_handler(self) -> RawHandler;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl IntoRawHandler for RawHandler

Source§

impl<F, Fut> IntoRawHandler for F
where F: Fn(Request<Incoming>) -> Fut + Send + Sync + 'static, Fut: Future<Output = Response<ResponseBody>> + Send + 'static,