Trait warp::reply::Reply [−][src]
pub trait Reply: ReplySealed { }
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
Implementors
impl<T: ReplySealed> Reply for T