Trait extsort_lily::Sortable
source · pub trait Sortable<W: Write, R: Read>: Ord + Sized {
type Error;
// Required methods
fn serialize(&self, w: &mut W) -> Result<(), Self::Error>;
fn deserialize(r: &mut R) -> Option<Result<Self, Self::Error>>;
}
Expand description
Implement this trait for data to be sorted
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.