Rocket/core/lib/src/request
Sergio Benitez 2465e2f136 Make 'Responder' trait sync; fix its lifetimes.
In summary, this commit modifies 'Responder' so that:

  * ..it is no longer 'async'. To accommodate, the 'sized_body' methods
    in 'Response' and 'ResponseBuilder' are no longer 'async' and accept
    an optional size directly. If none is supplied, Rocket will attempt
    to compute the size, by seeking, before writing out the response.
    The 'Body' type was also changed to differentiate between its sized
    'Seek' and chunked body variants.

  * ..'&Request' gains a lifetime: 'r, and the returned 'Response' is
    parameterized by a new 'o: 'r. This allows responders to return
    references from the request or those that live longer.
2020-07-11 09:24:29 -07:00
..
form Remove extraneous dependency on 'futures-util'. 2020-07-11 09:24:29 -07:00
from_request.rs Remove extraneous dependency on 'futures-util'. 2020-07-11 09:24:29 -07:00
mod.rs Use 'async_trait' for 'FromRequest'. 2020-07-11 09:24:29 -07:00
param.rs Remove stabilized 'async_await' feature gate and update the minimum nightly version. 2020-07-11 09:24:28 -07:00
query.rs Remove stabilized 'async_await' feature gate and update the minimum nightly version. 2020-07-11 09:24:28 -07:00
request.rs Make 'Responder' trait sync; fix its lifetimes. 2020-07-11 09:24:29 -07:00
state.rs Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
tests.rs Defer execution of operations on 'Rocket' until their effects will be 2020-07-11 09:24:29 -07:00