Async abstractions in Rust

The async network I/O is advantageous, but programming them in their raw form is hard. Fortunately, Rust provides us with convenient abstractions in the form of third-party crates for working with asynchronous I/O. It alleviates the developer from most of the complex state machine handling when dealing with non-blocking sockets and the underlying socket polling mechanism. Two of the lower-layer abstractions that are available as crates are the futures and mio crates. Let's understand them in brief.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset