usestd::io::Cursor;/// Trait that supports reading a Header from a packet
pubtraitHeaderReader{/// Associated type for the HeaderReader, since it reads it from a Header
typeHeader;/// Read the specified header from the given Cursor.
fnread(rdr:&mutCursor<&[u8]>)->Self::Header;/// This will get the size of the header.
fnsize()->u8;}