pub trait AsBytes { // Required method fn as_bytes(&self) -> &[u8] ⓘ; }
Types that can be represented as a u8 slice.
u8
This trait should only be implemented if the type can be safely converted to a slice.
Return a byte slice representation.