Trait mfio::backend::Pollable

source ·
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§

source

fn poll(&self, flags: &PollingFlags)

Implementors§

source§

impl Pollable for DefaultHandle

Available on non-miri and crate feature std only.