rust 将String 转换为 &'static str fn string_to_static_str(s: String) -> &'static str { Box::leak(s.into_boxed_str()) }