Struct virtual_mio::StatefulHandler
source · pub struct StatefulHandler { /* private fields */ }Implementations§
source§impl StatefulHandler
impl StatefulHandler
pub fn new( handler: Box<dyn InterestHandler + Send + Sync>, state: StatefulHandlerState ) -> Box<Self>
Trait Implementations§
source§impl InterestHandler for StatefulHandler
impl InterestHandler for StatefulHandler
fn interest(&mut self, interest: InterestType)
Auto Trait Implementations§
impl !RefUnwindSafe for StatefulHandler
impl Send for StatefulHandler
impl Sync for StatefulHandler
impl Unpin for StatefulHandler
impl !UnwindSafe for StatefulHandler
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