pub trait Sortable<T>: Eq + Ord { fn encode(item: T, output: &mut dyn Write); fn decode(intput: &mut dyn Read) -> Option<T>; }