to_text¶ In std/bytes. fn to_text(self) : Option<String> self read as UTF-8 text, or none where it is not valid UTF-8: Bytes("hé").to_text() is some("hé").