Function core::str::is_utf8Deprecated [-]  [+] [src]

pub fn is_utf8(v: &[u8]) -> bool

Determines if a vector of bytes contains valid UTF-8.