зеркало из https://github.com/mozilla/gecko-dev.git
…
|
||
---|---|---|
.. | ||
src | ||
tests | ||
.cargo-checksum.json | ||
.cargo-ok | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
README.md
mio-uds
A library for integrating Unix Domain Sockets with mio. Based on the standard library's support for Unix sockets, except all of the abstractions and types are nonblocking to conform with the expectations of mio.
# Cargo.toml
[dependencies]
mio-uds = "0.6"
mio = "0.6"
Usage
The three exported types at the top level, UnixStream
, UnixListener
, and
UnixDatagram
, are thin wrappers around the libstd counterparts. They can be
used in similar fashions to mio's TCP and UDP types in terms of registration and
API.
License
mio-uds
is primarily distributed under the terms of both the MIT license and
the Apache License (Version 2.0), with portions covered by various BSD-like
licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.