pub trait TcpTag: Debug { fn id(&self) -> u8; fn data(&self) -> Vec<u8>; fn construct(&self) -> Vec<u8> { ... } }