I am trying to implement std::io::Read trait for a struct.
std::io::Read
My objective is to convert obj to byte array and read it through the implementation of