Struct buf_redux::strategy::IfEmpty
[−]
[src]
pub struct IfEmpty;
A ReadStrategy
which tells the buffer to read more data only when empty.
Default behavior of std::io::BufReader
.
Trait Implementations
impl Debug for IfEmpty
[src]
impl Default for IfEmpty
[src]
impl ReadStrategy for IfEmpty
[src]
fn should_read(&self, buffer: &Buffer) -> bool
[src]
Returns true
if the buffer should read more data, false
otherwise.