Trait virtual_net::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§