[−][src]Trait external_sort::ExternallySortable
Trait for types that can be used by ExternalSorter. Must be sortable, cloneable, serializeable, and able to report on it's size
Required methods
fn get_size(&self) -> u64
Get the size, in bytes, of this object (used to constrain the buffer used in the external sort).
If you are unable to calculate a size, simply return 1
from this
function, and then set the buffer_bytes
to the number of objects
to hold in memory when creating an
ExternalSorter