Searched refs:try_clone (Results 1 – 13 of 13) sorted by relevance
114 pub fn try_clone(&self) -> io::Result<UnixDatagram> { in try_clone() method115 Ok(Self::from_std(self.inner.try_clone()?)) in try_clone()316 let sender2 = sender.try_clone().unwrap(); in ut_uds_datagram_pair()
89 pub fn try_clone(&self) -> io::Result<UnixStream> { in try_clone() method90 Ok(Self::from_std(self.inner.try_clone()?)) in try_clone()268 let sender2 = sender.try_clone().unwrap(); in ut_uds_stream_pair()
126 pub fn try_clone(&self) -> io::Result<UnixListener> { in try_clone() method127 Ok(Self::from_std(self.inner.try_clone()?)) in try_clone()
55 let mut read_stream = stream.try_clone().unwrap(); in sdv_tcp_server()128 let mut read_stream = stream.try_clone().unwrap(); in sdv_tcp_server_vectored()
148 let sender2 = sender.try_clone().unwrap(); in sdv_uds_send_recv()
44 pub fn try_clone(&self) -> io::Result<Self> { in try_clone() method46 inner: self.inner.try_clone()?, in try_clone()
61 pub fn try_clone(&self) -> io::Result<Self> { in try_clone() method63 inner: self.inner.try_clone()?, in try_clone()
91 let selector = selector.try_clone()?;
128 pub fn try_clone(&self) -> io::Result<Selector> { in try_clone() method
147 self.stream.receiver.try_clone() in try_clone_stream()
341 pub async fn try_clone(&self) -> io::Result<File> { in try_clone() method343 let file = async_op(move || file.try_clone()).await?; in try_clone()614 let res = file.try_clone().await; in ut_fs_file_try_clone()
176 Ok(self.0.try_clone()?.into()) in clone_stdio()
326 let res = file.try_clone().await; in sdv_async_fs_try_clone()