|0.1.7||Jun 30, 2020|
|0.1.6||Jan 3, 2018|
|0.1.5||Mar 15, 2017|
|0.1.4||Feb 25, 2017|
|0.1.2||Dec 22, 2016|
#108 in Windows APIs
169,119 downloads per month
Used in 497 crates (13 directly)
# Cargo.toml [dependencies] mio-named-pipes = "0.1" mio = "0.6"
The primary type,
NamedPipe, can be constructed with
IntoRawHandle type. All operations on
NamedPipe are nonblocking
and will return an I/O error if they'd block (with the error indicating so).
Typically you can use a
NamedPipe in the same way you would a TCP socket on
Windows with mio.
Note: Named pipes on Windows do not have a zero-cost abstraction when working with the mio interface (readiness, not completion). As a result, this library internally has some buffer management that hasn't been optimized yet. It's recommended you benchmark this library for your application, and feel free to contact me if anything looks awry.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in mio-named-pipes by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.