我正在尝试使用Unix套接字对与子Ruby进程通信Rust进程。我也尝试过只使用Ruby,而且它很有效,但我似乎无法让它与Rust一起工作。我尝试将"rust_socket“文件描述符传递给ruby_socket,将"ruby_socket”文件描述符传递给Ruby以及读写套接字的不同组合。::unix::io::IntoRawFd; let (rust_<em
对于服务器端的事情,我使用Rust托管它,因为我的数据库是用Rust编写的: TCP服务器Rust use std::{ net::{Shutdown::Both,("Error: {}", e); } // close the socket server}let port = "80";
console.log(