Home
last modified time | relevance | path

Searched refs:try_clone (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
H A Ddatagram.rs114 pub fn try_clone(&self) -> io::Result<UnixDatagram> { in try_clone() method
115 Ok(Self::from_std(self.inner.try_clone()?)) in try_clone()
316 let sender2 = sender.try_clone().unwrap(); in ut_uds_datagram_pair()
H A Dstream.rs89 pub fn try_clone(&self) -> io::Result<UnixStream> { in try_clone() method
90 Ok(Self::from_std(self.inner.try_clone()?)) in try_clone()
268 let sender2 = sender.try_clone().unwrap(); in ut_uds_stream_pair()
H A Dlistener.rs126 pub fn try_clone(&self) -> io::Result<UnixListener> { in try_clone() method
127 Ok(Self::from_std(self.inner.try_clone()?)) in try_clone()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/tests/
H A Dtcp_test.rs55 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()
H A Duds_test.rs148 let sender2 = sender.try_clone().unwrap(); in sdv_uds_send_recv()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
H A Dstream.rs44 pub fn try_clone(&self) -> io::Result<Self> { in try_clone() method
46 inner: self.inner.try_clone()?, in try_clone()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
H A Dstream.rs61 pub fn try_clone(&self) -> io::Result<Self> { in try_clone() method
63 inner: self.inner.try_clone()?, in try_clone()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dwaker.rs91 let selector = selector.try_clone()?;
H A Dkqueue.rs128 pub fn try_clone(&self) -> io::Result<Selector> { in try_clone() method
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dregistry.rs147 self.stream.receiver.try_clone() in try_clone_stream()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dasync_file.rs341 pub async fn try_clone(&self) -> io::Result<File> { in try_clone() method
343 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()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/
H A Dsys.rs176 Ok(self.0.try_clone()?.into()) in clone_stdio()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_fs.rs326 let res = file.try_clone().await; in sdv_async_fs_try_clone()