pub enum ChunkSize {
Fixed(usize),
Adaptive,
Custom(fn(u64) -> usize),
}Variants§
Fixed(usize)
Fixed chunk size in rows
Adaptive
Adaptive based on available memory
Custom(fn(u64) -> usize)
Custom sizing function - cannot derive Debug/Clone with function pointer
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkSize
impl RefUnwindSafe for ChunkSize
impl Send for ChunkSize
impl Sync for ChunkSize
impl Unpin for ChunkSize
impl UnsafeUnpin for ChunkSize
impl UnwindSafe for ChunkSize
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