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::Chunk>>
  • String
  • &'static str

Implementors