Trait sled_web::request::IntoRequest [−][src]
pub trait IntoRequest: RequestType + IntoBody { fn into_request(self, base_uri: Uri) -> Request<Body>; }
Types that may be directly converted into a hyper Request.
Required Methods
fn into_request(self, base_uri: Uri) -> Request<Body>
The base_uri
should include only the scheme and host - the path and query will be
retrieved via RequestType::PATH_AND_QUERY
.
Implementors
impl<T> IntoRequest for T where
T: RequestType + IntoBody,