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