Struct buf_redux::strategy::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]
impl Default for FlushAtLeast
[src]
fn default() -> FlushAtLeast
Returns the "default value" for a type. Read more
impl FlushStrategy for FlushAtLeast
[src]
fn should_flush(&self, buf: &Buffer, _: usize) -> bool
Return true
if the buffer should be flused.