Type Definition jlrs::info::StrOrBytes[][src]

pub type StrOrBytes<'scope> = Result<&'scope str, &'scope [u8]>;
Expand description

Alias for a result that contains either a valid UTF8-encoded string slice, or the raw byte slice if the contents are not valid UTF8.