Struct extsort::sorter::ExternalSorter
source · pub struct ExternalSorter { /* private fields */ }
Implementations
sourceimpl ExternalSorter
impl ExternalSorter
pub fn new() -> ExternalSorter
sourcepub fn set_max_size(&mut self, max_size: usize)
pub fn set_max_size(&mut self, max_size: usize)
Set maximum number of items we can buffer in memory
sourcepub fn set_sort_dir(&mut self, path: PathBuf)
pub fn set_sort_dir(&mut self, path: PathBuf)
Set directory in which sorted segments will be written (if it doesn’t fit in memory)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExternalSorter
impl Send for ExternalSorter
impl Sync for ExternalSorter
impl Unpin for ExternalSorter
impl UnwindSafe for ExternalSorter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more