pub fn poll_all<'a>(
desc: &[&'a dyn Descriptors],
timeout: i32
) -> Result<Vec<(&'a dyn Descriptors, Flags)>>
Expand description
Builds a pollfd array, polls it, and returns the poll descriptors which have non-zero revents.
pub fn poll_all<'a>(
desc: &[&'a dyn Descriptors],
timeout: i32
) -> Result<Vec<(&'a dyn Descriptors, Flags)>>
Builds a pollfd array, polls it, and returns the poll descriptors which have non-zero revents.