介绍. SocketAddr定义如下:. pub enum SocketAddr {. V4(SocketAddrV4),. V6(SocketAddrV6),. } 使用示例. SocketAddr中提供了一些方法,使用如下:.
確定! 回上一頁