tokio-try-read-full

Crates.io Documentation

This crate complemnts tokio-io's read_exact for scenarios where you want to read as many bytes as possible into a buffer until either the buffer is full or the reader returns EOF.