pub trait PollDescriptors {
fn count(&self) -> usize;
fn fill(&self, _: &mut [pollfd]) -> Result<usize>;
fn revents(&self, _: &[pollfd]) -> Result<PollFlags>;
fn get(&self) -> Result<Vec<pollfd>> { ... }
}
Required Methods
Provided Methods
Wrapper around count and fill - returns an array of pollfds
Implementors
impl PollDescriptors for Ctl
impl PollDescriptors for HCtl
impl PollDescriptors for PCM
impl PollDescriptors for Rawmidi
impl PollDescriptors for pollfd
impl PollDescriptors for Mixer
impl<'a> PollDescriptors for (&'a Seq, Option<Direction>)