Searched refs:new_v4 (Results 1 – 7 of 7) sorted by relevance
11 let srv = assert_ok!(TcpSocket::new_v4()); in basic_usage_v4()18 let cli = assert_ok!(TcpSocket::new_v4()); in basic_usage_v4()47 let srv = assert_ok!(TcpSocket::new_v4()); in bind_before_connect()54 let cli = assert_ok!(TcpSocket::new_v4()); in bind_before_connect()
27 pub fn new_v4() -> Uuid { in new_v4() method47 let uuid = Uuid::new_v4(); in test_new()55 let uuid = Uuid::new_v4(); in test_get_version()
119 pub fn new_v4() -> io::Result<TcpSocket> { in new_v4() method120 let inner = mio::net::TcpSocket::new_v4()?; in new_v4()
52 pub fn new_v4() -> io::Result<TcpSocket> { in new_v4() method65 TcpSocket::new_v4() in new_for_addr()
42 * `v4` - adds the `Uuid::new_v4` function and the ability to randomly101 let my_uuid = Uuid::new_v4();
356 let id = Uuid::new_v4(); in test_uuid()
363 pub fn new_v4(a: u8, b: u8, c: u8, d: u8) -> IpAddr { in new_v4() method