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]
impl Default for LessThan
[src]
impl ReadStrategy for LessThan
[src]
fn should_read(&self, buffer: &Buffer) -> bool
[src]
Returns true
if the buffer should read more data, false
otherwise.