usestd::error::Error;useasync_trait::async_trait;#[async_trait]pubtraitSerdeProtocol{/*
take object and serialize to bytes
*/fnserialize(&self)->Result<&[u8], Box<dyn Error>>;/*
take bytes and deserialize to object
*/
async fndeserialize(bytes:&[u8])->Self;}