Struct OnProgressChunkWriter
#[must_use]
pub struct OnProgressChunkWriter<'w, W, F> { /* private fields */ }
A new writer that triggers a callback for each block written to the inner writer.
Trait Implementations
impl<'w, W, F> ChunksWriter for OnProgressChunkWriter<'w, W, F>
where
W: 'w + ChunksWriter,
F: FnMut(f64),
fn total_chunks_count(&self) -> usizefn write_chunk(&mut self, index_in_header_increasing_y: usize, chunk: Chunk) -> UnitResult
impl<'w, W: Debug, F: Debug> Debug for OnProgressChunkWriter<'w, W, F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result