Struct buf_redux::policy::FlushAtLeast[][src]

pub struct FlushAtLeast(pub usize);

Flush the buffer if it contains at least the given number of bytes.

Trait Implementations

impl Debug for FlushAtLeast
[src]

Formats the value using the given formatter. Read more

impl Default for FlushAtLeast
[src]

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

impl WriterPolicy for FlushAtLeast
[src]

Return FlushAmt(n > 0) if the buffer should be flushed before reading into it. If the returned amount is 0 or greater than the amount of buffered data, no flush is performed. Read more

Return true if the buffer should be flushed after reading into it. Read more

Auto Trait Implementations