Function bcrypt_bsd::to_str [] [src]

pub fn to_str<'a>(bytes: &'a [u8]) -> Result<&'a str, CryptError>

Convert a nul-terminated byte slice into a borrowed string.