pub trait InterestHandler: Send + Sync {
    // Required method
    fn interest(&mut self, interest: InterestType);
}

Required Methods§

source

fn interest(&mut self, interest: InterestType)

Trait Implementations§

source§

impl From<&Context<'_>> for Box<dyn InterestHandler + Send + Sync>

source§

fn from(cx: &Context<'_>) -> Self

Converts to this type from the input type.
source§

impl From<&Waker> for Box<dyn InterestHandler + Send + Sync>

source§

fn from(waker: &Waker) -> Self

Converts to this type from the input type.

Implementors§