Searched refs:Wrap (Results 1 – 3 of 3) sorted by relevance
19 Wrap(BoxBody), enumerator49 return Self::from_kind(Kind::Wrap(body.take().unwrap())); in new()57 Self::from_kind(Kind::Wrap(body)) in new()77 Kind::Wrap(body) => Pin::new(body).poll_frame(cx), in poll_frame()84 Kind::Wrap(body) => body.size_hint(), in size_hint()91 Kind::Wrap(body) => body.is_end_stream(), in is_end_stream()
223 Wrap(#[pin] B), enumerator236 Self::new(ResponseBodyKind::Wrap(body)) in wrap()250 ResponseBodyKindProj::Wrap(body) => body.poll_frame(cx), in poll_frame()257 ResponseBodyKind::Wrap(body) => body.size_hint(), in size_hint()264 ResponseBodyKind::Wrap(body) => body.is_end_stream(), in is_end_stream()
175 /// // Wrap the future with a `Timeout` set to expire in 10 milliseconds.203 /// // Wrap the future with a `Timeout` set to expire in 10 milliseconds.252 3. Wrap all other lines at 72 columns (except for long URLs).