You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe that there's a way to implement FromRawFd on UnixStream without introducing a potential panic. Given that smol-rs/async-net#21 introduces a way to convert an OwnedFd to a UnixStream using TryFrom, and how one can unsafely convert a RawFd to an OwnedFd, this issue should be resolved.
I would like to be able to convert raw file descriptors into
UnixStream
without having to convert toAsync<std::os::unix::net::UnixStream>
first.The text was updated successfully, but these errors were encountered: