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]

[src]

Formats the value using the given formatter.

impl Default for IfEmpty
[src]

[src]

Returns the "default value" for a type. Read more

impl ReadStrategy for IfEmpty
[src]

[src]

Returns true if the buffer should read more data, false otherwise.