Module atm_io_utils::limited_reader [] [src]

A wrapper around a reader that limits how many bytes can be read from it.

Structs

LimitedReader

Wraps a reader and limits the number of bytes that can be read from it. Once the limit has been reached, further calls to poll_read will return Ok(Ready(0)).