(self)
| 181 | } |
| 182 | |
| 183 | pub fn close(self) -> anyhow::Result<()> { |
| 184 | let encoder = self |
| 185 | .serializer |
| 186 | .into_inner() |
| 187 | .into_inner() |
| 188 | .map_err(|error| error.into_error())?; |
| 189 | encoder.finish()?.flush()?; |
| 190 | Ok(()) |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | /// Reads the rows of a telemetry artifact as its bytes are read from `R`, such as an archive entry, |