gecko-dev/third_party/rust/mio-named-pipes
Matthew Gregan 68ff8b6963 Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D39454

--HG--
rename : third_party/rust/memmap-0.5.2/LICENSE-APACHE => third_party/rust/memmap-0.6.2/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/memmap-0.6.2/LICENSE-MIT
rename : third_party/rust/memmap-0.5.2/ci/install.sh => third_party/rust/memmap-0.6.2/ci/install.sh
rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/miow-0.2.1/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/miow-0.2.1/LICENSE-MIT
rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/socket2/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/socket2/LICENSE-MIT
rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/tokio-named-pipes/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/tokio-named-pipes/LICENSE-MIT
extra : moz-landing-system : lando
2019-07-27 13:14:41 +00:00
..
src Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin 2019-07-27 13:14:41 +00:00
tests Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin 2019-07-27 13:14:41 +00:00
.cargo-checksum.json Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin 2019-07-27 13:14:41 +00:00
Cargo.toml Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin 2019-07-27 13:14:41 +00:00
LICENSE-APACHE Bug 1512445 - Re-vendor Rust dependencies for AudioIPC. r=chunmin 2019-03-07 02:04:54 +00:00
LICENSE-MIT Bug 1512445 - Re-vendor Rust dependencies for AudioIPC. r=chunmin 2019-03-07 02:04:54 +00:00
README.md Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin 2019-07-27 13:14:41 +00:00
appveyor.yml Bug 1512445 - Re-vendor Rust dependencies for AudioIPC. r=chunmin 2019-03-07 02:04:54 +00:00

README.md

mio-named-pipes

Build status

Documentation

A library for integrating Windows Named Pipes with mio.

# Cargo.toml
[dependencies]
mio-named-pipes = "0.1"
mio = "0.6"

Usage

The primary type, NamedPipe, can be constructed with NamedPipe::new or through the 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.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.