我想在Rust中将 ~str 编码为base64,以实现HTTP基本身份验证。 我找到了 extra::base64 ,但是我不知道应该如何使用它。 ToBase64 特性似乎具有 &[u8] 的实现,但编译 ...
確定! 回上一頁