Trait rama::http::layer::traffic_writer::ResponseWriter
pub trait ResponseWriter: Send + Sync + 'static {
// Required method
fn write_response(
&self,
res: Response<Body>,
) -> impl Future<Output = ()> + Send;
}
Expand description
A trait for writing http responses.
Required Methods§
Object Safety§
This trait is not object safe.