tokio_util::codec::lines_codec

Function utf8

Source
fn utf8(buf: &[u8]) -> Result<&str, Error>