Skip to main content

Poll

Trait Poll 

Source
pub trait Poll: Source {
    // Provided method
    fn wait<'a, 'fd: 'a, T: Entries<'fd>, E: From<Errno>>(
        owner: &'a mut T,
        timeout: i32,
    ) -> Result<Events<'a, 'fd>, E> { ... }
}
Expand description

Native polling against a caller-owned, bounded descriptor collection.

Provided Methods§

Source

fn wait<'a, 'fd: 'a, T: Entries<'fd>, E: From<Errno>>( owner: &'a mut T, timeout: i32, ) -> Result<Events<'a, 'fd>, E>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Source> Poll for T