Lines Matching +full:github +full:- +full:token
3 Mio is a fast, low-level I/O library for Rust focusing on non-blocking APIs and
7 [![Crates.io][crates-badge]][crates-url]
8 [![MIT licensed][mit-badge]][mit-url]
9 [![Build Status][azure-badge]][azure-url]
10 [![Build Status][cirrus-badge]][cirrus-url]
12 [crates-badge]: https://img.shields.io/crates/v/mio.svg
13 [crates-url]: https://crates.io/crates/mio
14 [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
15 [mit-url]: LICENSE
16 [azure-badge]: https://dev.azure.com/tokio-rs/Tokio/_apis/build/status/tokio-rs.mio?branchName=mast…
17 [azure-url]: https://dev.azure.com/tokio-rs/Tokio/_build/latest?definitionId=2&branchName=master
18 [cirrus-badge]: https://api.cirrus-ci.com/github/tokio-rs/mio.svg
19 [cirrus-url]: https://cirrus-ci.com/github/tokio-rs/mio
23 * [master](https://tokio-rs.github.io/mio/doc/mio/)
40 `TcpListener` and `TcpStream`. Note that `features = ["os-poll", "net"]` must be
47 use mio::{Events, Interest, Poll, Token};
50 const SERVER: Token = Token(0);
51 const CLIENT: Token = Token(1);
53 fn main() -> Result<(), Box<dyn Error>> {
79 // We can use the token we previously provided to `register` to
81 match event.token() {
114 * Non-blocking TCP, UDP
119 ## Non-goals
122 or higher-level libraries.
125 * Thread pools / multi-threaded event loop
153 [wepoll]: https://github.com/piscisaureus/wepoll
171 Finally, be kind. We support the [Rust Code of Conduct](https://www.rust-lang.org/policies/code-of-…