Function string_to_key

Source
pub fn string_to_key<T: TryFrom<Vec<u8>> + PrintForLog<T>>(
    key: JsString,
) -> Result<T, Error>
where <T as TryFrom<Vec<u8>>>::Error: Debug,