fn readiness(&self) -> Interest {
        if self.buffer.write_pending() != 0 {
            Interest::READABLE | Interest::WRITABLE
        } else {
            Interest::READABLE
        }
    }
/// Get the set of readiness events the session is waiting for
Get the set of readiness events the session is waiting for
Get the set of readiness events the session is waiting for
fn readiness(&self) -> Interest {
        if self.buffer.write_pending() != 0 {
            Interest::READABLE | Interest::WRITABLE
        } else {
            Interest::READABLE
        }
    }
fn readiness ( & self ) -> Interest { if self . buffer . write_pending ( ) != 0 { Interest :: READABLE | Interest :: WRITABLE } else { Interest :: READABLE } }
Get the set of readiness events the session is waiting for
Get the set of readiness events the session is waiting for
&self
&self