pub fn encode_sector<RE>(
downloaded_sector: DownloadedSector,
encoding_options: EncodeSectorOptions<'_, RE>,
) -> Result<EncodedSector, PlottingError>where
RE: RecordsEncoder,
Expand description
Encode downloaded sector.
This function encodes downloaded sector records and returns sector encoding result that can be
written using write_sector
.