Struct virtual_mio::FilteredHandler
source · pub struct FilteredHandler { /* private fields */ }Implementations§
source§impl FilteredHandler
impl FilteredHandler
pub fn new() -> Box<Self>
pub fn add_interest( self: Box<Self>, interest: InterestType, handler: Box<dyn InterestHandler + Send + Sync> ) -> Box<Self>
pub fn subscriptions(&self) -> &FilteredHandlerSubscriptions
Trait Implementations§
source§impl InterestHandler for FilteredHandler
impl InterestHandler for FilteredHandler
fn interest(&mut self, interest: InterestType)
Auto Trait Implementations§
impl RefUnwindSafe for FilteredHandler
impl Send for FilteredHandler
impl Sync for FilteredHandler
impl Unpin for FilteredHandler
impl UnwindSafe for FilteredHandler
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more