pub trait CharUtfBytesExt { // Required method fn as_utf8_bytes(&self) -> Vec<u8> ⓘ; }
Similar to encode_utf8 - more convenient, but slower and copies.
encode_utf8