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;/// Reads the specified header from the given Cursor.
fnread(rdr:&mutCursor<&[u8]>)->Self::Header;/// Returns the size of the header.
fnsize()->u8;}