pub trait Reply: ReplySealed { }
Expand description
Types that can be converted into a Response
.
This trait is sealed for now (implementations are only allowed inside warp), but it is implemented for the following:
http::StatusCode
http::Response<impl Into<hyper::Body>>
String
&'static str