native: clone/close_accept for win32 pipes
This commits takes a similar strategy to the previous commit to implement close_accept and clone for the native win32 pipes implementation. Closes #15595
This commit is contained in:
@@ -461,8 +461,7 @@ impl TcpAcceptor {
|
||||
///
|
||||
/// ```
|
||||
/// # #![allow(experimental)]
|
||||
/// use std::io::TcpListener;
|
||||
/// use std::io::{Listener, Acceptor, TimedOut};
|
||||
/// use std::io::{TcpListener, Listener, Acceptor, EndOfFile};
|
||||
///
|
||||
/// let mut a = TcpListener::bind("127.0.0.1", 8482).listen().unwrap();
|
||||
/// let a2 = a.clone();
|
||||
|
||||
Reference in New Issue
Block a user