pub fn coio_wait(fd: RawFd, flags: CoIOFlags, timeout: f64) -> Result<(), Error>
Expand description

Wait until READ or WRITE event on socket (fd). Yields.

  • fd - non-blocking socket file description
  • events - requested events to wait. Combination of CoIOFlags::READ | CoIOFlags::WRITE bit flags.
  • timeoout - timeout in seconds.