Trait TopLevelPoller

Source
pub trait TopLevelPoller {
    // Required method
    fn set_waiter(&mut self, waiter: &WakerWaiter) -> Result<(), SetWaiterError>;

    // Provided method
    fn set_local_waiter(
        &mut self,
        _waiter: &LocalWakerWaiter,
    ) -> Result<(), SetLocalWaiterError> { ... }
}

Required Methods§

Source

fn set_waiter(&mut self, waiter: &WakerWaiter) -> Result<(), SetWaiterError>

Provided Methods§

Trait Implementations§

Source§

impl DynWithStaticInterface for dyn TopLevelPoller + '_

Source§

type Static = dyn TopLevelPoller

Source§

type Clamped<'a> = dyn TopLevelPoller + 'a

Source§

fn to_static(&mut self) -> &mut Self::Static

Source§

fn to_clamped<'a>(&'a mut self) -> &'a mut Self::Clamped<'a>

Implementors§