pub struct LegacyBoundedSink<S> { /* private fields */ }Expand description
Adapts an existing synchronous sink to leased record chunks.
Implementations§
Source§impl<S> LegacyBoundedSink<S>
impl<S> LegacyBoundedSink<S>
Sourcepub fn into_inner(self) -> S
pub fn into_inner(self) -> S
Consumes the adapter and returns its sink.
Trait Implementations§
Source§impl<S: SpatialRecordSink> BoundedSpatialRecordSink for LegacyBoundedSink<S>
impl<S: SpatialRecordSink> BoundedSpatialRecordSink for LegacyBoundedSink<S>
Source§fn write_chunk(&mut self, chunk: &SpatialRecordChunk) -> RecordsResult<()>
fn write_chunk(&mut self, chunk: &SpatialRecordChunk) -> RecordsResult<()>
Writes one chunk synchronously.
Source§fn finish(&mut self) -> RecordsResult<()>
fn finish(&mut self) -> RecordsResult<()>
Finalizes the sink.
Auto Trait Implementations§
impl<S> Freeze for LegacyBoundedSink<S>where
S: Freeze,
impl<S> RefUnwindSafe for LegacyBoundedSink<S>where
S: RefUnwindSafe,
impl<S> Send for LegacyBoundedSink<S>where
S: Send,
impl<S> Sync for LegacyBoundedSink<S>where
S: Sync,
impl<S> Unpin for LegacyBoundedSink<S>where
S: Unpin,
impl<S> UnsafeUnpin for LegacyBoundedSink<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for LegacyBoundedSink<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more