pub trait Pollable {
// Required method
fn poll(&self, flags: &PollingFlags);
}
Expand description
A pollable handle.
Implementing this trait on a custom type, allows one to build custom cooperation mechanisms for different operating environments.
Required Methods§
fn poll(&self, flags: &PollingFlags)
Implementors§
impl Pollable for DefaultHandle
Available on non-
miri
and crate feature std
only.