pub struct SpillBuffer { /* private fields */ }Expand description
A buffer that can spill to disk for very large data sets.
Starts in memory and automatically spills to disk when the spill threshold is exceeded.
Implementations§
Source§impl SpillBuffer
impl SpillBuffer
Sourcepub fn with_config(config: LargeBufferConfig) -> Self
pub fn with_config(config: LargeBufferConfig) -> Self
Create a new spill buffer with custom configuration.
Sourcepub const fn is_spilled(&self) -> bool
pub const fn is_spilled(&self) -> bool
Check if the buffer has spilled to disk.
Trait Implementations§
Source§impl Debug for SpillBuffer
impl Debug for SpillBuffer
Source§impl Default for SpillBuffer
impl Default for SpillBuffer
Auto Trait Implementations§
impl Freeze for SpillBuffer
impl RefUnwindSafe for SpillBuffer
impl Send for SpillBuffer
impl Sync for SpillBuffer
impl Unpin for SpillBuffer
impl UnwindSafe for SpillBuffer
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