Trait ParallelExtSortOrdExtension

Source
pub trait ParallelExtSortOrdExtension: Iterator
where Self::Item: Send,
{ // Required method fn par_external_sort( self, options: ExtsortConfig, ) -> Result<ParallelResultIterator<Self::Item, OrdOrderer>>; }

Required Methods§

Source

fn par_external_sort( self, options: ExtsortConfig, ) -> Result<ParallelResultIterator<Self::Item, OrdOrderer>>

Sorts the provided Iterator according to the provided config the native ordering specified on the iterated type.

§Errors

This function may error if a sort file fails to be written. In this case the library will do its best to clean up the already written files, but no guarantee is made.

Implementors§

Source§

impl<I, T> ParallelExtSortOrdExtension for I
where I: Iterator<Item = T>, T: Send + Ord,