Lines Matching refs:trailers
83 trailers: Option<&'a [&'a [u8]]>
88 trailers.map(|s| s.iter().map(|b| IoSlice::new(b)).collect());
97 trailers: {
148 /// `headers` and `trailers` specify optional slices of byte slices to be sent before and
149 /// after the data read from `in_fd`, respectively. The length of headers and trailers sent
151 /// do not apply to headers or trailers.
165 trailers: Option<&[&[u8]]>,
175 let hdtr = headers.or(trailers).map(|_| SendfileHeaderTrailer::new(headers, trailers));
202 /// `headers` and `trailers` specify optional slices of byte slices to be sent before and
203 /// after the data read from `in_fd`, respectively. The length of headers and trailers sent
205 /// do not apply to headers or trailers.
215 trailers: Option<&[&[u8]]>,
218 let hdtr = headers.or(trailers).map(|_| SendfileHeaderTrailer::new(headers, trailers));
246 /// `hdtr` specifies an optional list of headers and trailers to be sent before and after
247 /// the data read from `in_fd`, respectively. The length of headers and trailers sent is
251 /// regardless. The value of `offset` does not affect headers or trailers.
261 trailers: Option<&[&[u8]]>
264 let hdtr = headers.or(trailers).map(|_| SendfileHeaderTrailer::new(headers, trailers));