Support for anonymous pipes #5547
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-net
Module: tokio/net
Is your feature request related to a problem? Please describe.
It's unclear how anonymous pipes should be used in Tokio. For my use case, I have a
RawFd
returned from apipe2()
syscall and I want to wrap it with the types intokio::net::unix::pipe
. At the moment, it seems like the only way to do this is to wrap it in aFile
first:Describe the solution you'd like
I'm not sure if wrapping it in a
File
is the "right" way to do this, but it should at least be documented.The text was updated successfully, but these errors were encountered: