Lines Matching defs:trailer
25 //! a sequence of data chunks, one zero-length chunk, and a trailer section —
28 //! chunked framing syntax, nor the trailer fields.
158 /// Gets trailer headers.
159 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> {
298 /// Gets trailer headers.
306 /// Returns a future that reads part of the trailer data, returning the
313 /// If the trailer has been completely read, headers will be returned.
316 /// If return none, means trailer is empty.
319 /// An error occurred while reading trailer data.
328 /// // Chunk body contain trailer data
341 /// let res = chunk.trailer().await.unwrap().unwrap();
348 fn trailer<'a>(&'a mut self) -> TrailerFuture<'a, Self>
356 /// A future that reads data from trailer, returning whole headers
359 /// This future is the return value of `async_impl::Body::trailer`.