Struct buf_redux::strategy::FlushOn [] [src]

pub struct FlushOn(pub u8);

Flush the buffer if it contains the given byte.

Only scans the buffer after reading. Searches from the end first.

Trait Implementations

impl Debug for FlushOn
[src]

[src]

Formats the value using the given formatter.

impl Default for FlushOn
[src]

[src]

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

impl FlushStrategy for FlushOn
[src]

[src]

Same as WhenFull.

[src]

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