Trait BufInterest

Source
pub trait BufInterest {
    // Required methods
    fn want_write_buf(&self) -> bool;
    fn want_write_io(&self) -> bool;
}
Expand description

trait generic over different types of buffer strategy.

Required Methods§

Source

fn want_write_buf(&self) -> bool

flag if buffer want more data to be filled in.

Source

fn want_write_io(&self) -> bool

flag if buffer want to write data to io.

Implementors§