Struct buf_redux::strategy::LessThan [] [src]

pub struct LessThan(pub usize);

A ReadStrategy which returns true if there is fewer bytes in the buffer than the provided value.

Trait Implementations

impl Debug for LessThan
[src]

[src]

Formats the value using the given formatter.

impl Default for LessThan
[src]

[src]

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

impl ReadStrategy for LessThan
[src]

[src]

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