Searched refs:UnixStream (Results 1 – 1 of 1) sorted by relevance
17 use tokio::net::UnixStream;444 fn unixstream_to_file(stream: UnixStream) -> std::fs::File { in unixstream_to_file()455 fn file_to_unixstream(fd: std::fs::File) -> Option<UnixStream> { in file_to_unixstream() argument456 let raw_stream = unsafe { unix::net::UnixStream::from_raw_fd(fd.into_raw_fd()) }; in file_to_unixstream()457 match UnixStream::from_std(raw_stream) { in file_to_unixstream()762 stream: UnixStream, in listening_task() argument1016 stream: &UnixStream, in wait_and_read_stream() argument1056 stream: Option<UnixStream>, in connecting_task() argument