Closed kkonevets closed 3 years ago
Defining Sortable like this is more readable and makes sense
Sortable
pub trait Sortable: Eq + Ord + Sized + Send + Sync { fn encode<W: Write>(&self, writer: &mut W); fn decode<R: Read>(reader: &mut R) -> Option<Self>; }
Defining
Sortable
like this is more readable and makes sense