pub trait Deserialize: Sized { // Required method fn decode(buf: &[u8]) -> Result<(Self, &[u8]), Error>; }