pub trait Bytes { fn to_bytes(&self) -> Box<[u8]>; fn from_bytes(buf: &[u8]) -> Result<Self> where Self: Sized; }