Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 924 Bytes

README.org

File metadata and controls

16 lines (13 loc) · 924 Bytes

Read data asynchronously without removing it from the queue

https://img.shields.io/crates/l/async-peek.svg https://img.shields.io/crates/v/async-peek.svg https://docs.rs/async-peek/badge.svg

This crate provides a trait to read data asynchronously without removing it from the queue (like when using the blocking methods ~std::net::TcpStream::peek()~ and ~std::net::UdpSocket::peek()~).

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.