virtual_net

Trait InterestHandler

Source
pub trait InterestHandler: Send + Sync {
    // Required methods
    fn push_interest(&mut self, interest: InterestType);
    fn pop_interest(&mut self, interest: InterestType) -> bool;
    fn has_interest(&self, interest: InterestType) -> bool;
}

Required Methods§

Source

fn push_interest(&mut self, interest: InterestType)

Source

fn pop_interest(&mut self, interest: InterestType) -> bool

Source

fn has_interest(&self, interest: InterestType) -> bool

Implementors§