pub trait AsByte { // Required method fn as_byte(&self) -> u8; }
AsBytes should be used to convert a value into a single byte.
AsBytes
It should represent a struct as a single byte.