(&mut self)
| 52 | } |
| 53 | |
| 54 | fn code_eof(&mut self) -> io::Result<Option<Self::Item>> { |
| 55 | match self.0.take() { |
| 56 | Some(mut decoder) => { |
| 57 | let b = decoder.finish()?.take_owned(); |
| 58 | Ok(Some(b)) |
| 59 | } |
| 60 | None => Ok(None), |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | #[inline] |
| 65 | fn is_end_stream(&self, _: &impl http_body_alt::Body) -> bool { |
nothing calls this directly
no test coverage detected