pub trait EncodableDataComponent:
Send
+ Sync
+ Any {
// Required methods
fn encode(&self, buf: &mut Vec<u8>) -> Result<(), Error>;
fn clone(&self) -> Box<dyn EncodableDataComponent>;
fn eq(&self, other: Box<dyn EncodableDataComponent>) -> bool;
}