pub struct ExtSorter<T> { /* private fields */ }
Expand description
Sort the data
Implementations§
Source§impl<T> ExtSorter<T>
impl<T> ExtSorter<T>
Sourcepub fn new(buffer_n_items: usize) -> Result<Self>
pub fn new(buffer_n_items: usize) -> Result<Self>
Create an ExtSorter
to sort your data.
It will buffer buffer_n_items
items in memory and sort them, and then write them serialized
into temporary files.
Auto Trait Implementations§
impl<T> Freeze for ExtSorter<T>
impl<T> RefUnwindSafe for ExtSorter<T>where
T: RefUnwindSafe,
impl<T> Send for ExtSorter<T>where
T: Send,
impl<T> Sync for ExtSorter<T>where
T: Sync,
impl<T> Unpin for ExtSorter<T>where
T: Unpin,
impl<T> UnwindSafe for ExtSorter<T>where
T: 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