Function subspace_farmer_components::plotting::plot_sector

source ยท
pub async fn plot_sector<RE, PG>(
    options: PlotSectorOptions<'_, RE, PG>,
) -> Result<PlottedSector, PlottingError>
where RE: RecordsEncoder, PG: PieceGetter,
Expand description

Plot a single sector.

This is a convenient wrapper around download_sector and encode_sector functions.

NOTE: Even though this function is async, it has blocking code inside and must be running in a separate thread in order to prevent blocking an executor.