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'm also struggeling with how to use miow. I would like to implement named pipe support in the thrift crate. I've already added the Unix Domain Socket and found it quite straight forward. However, with Windows Named Pipes, I'm not so familiar.
Thrift requires me to split IO into a read and a write part, i.e. something that implements the trait Read and another thing that implements the trait Write. miow does not provide a type implementing these traits. However, File does and miow creates a File when I use miow::pipe::connect. Unfortunately this does not work out of the box.
I guess I have to create the named pipe first and then create two Files via miow::pipe::connect. Another guess is that I have to use the NamedPipeBuilder and create the Read part with input(true).output(false) and the Write part vice versa. I'm not sure though.
@alexcrichton: I'm a fan of yours. I listened to your Rust podcast when I started programming Rust. Could you please advice? With some upfront guidance, I'm happy to contribute a small example to miow so other users can benefit from this. Thank you.
how do you use this?
The text was updated successfully, but these errors were encountered: