Skip to main content

BoundedSpatialRecordSink

Trait BoundedSpatialRecordSink 

Source
pub trait BoundedSpatialRecordSink {
    // Required method
    fn write_chunk(&mut self, chunk: &SpatialRecordChunk) -> RecordsResult<()>;

    // Provided method
    fn finish(&mut self) -> RecordsResult<()> { ... }
}
Expand description

Push-based bounded sink that cannot retain a record beyond the chunk lease.

Required Methods§

Source

fn write_chunk(&mut self, chunk: &SpatialRecordChunk) -> RecordsResult<()>

Writes one chunk synchronously.

Provided Methods§

Source

fn finish(&mut self) -> RecordsResult<()>

Finalizes the sink.

Implementations on Foreign Types§

Source§

impl<S: BoundedSpatialRecordSink + ?Sized> BoundedSpatialRecordSink for Box<S>

Implementors§