Struct virtual_net::InterestGuard
source · pub struct InterestGuard { /* private fields */ }
Implementations§
source§impl InterestGuard
impl InterestGuard
pub fn new( selector: &Arc<Selector, Global>, handler: Box<dyn InterestHandler + Send + Sync, Global>, source: &mut dyn Source, interest: Interest ) -> Result<InterestGuard, Error>
pub fn unregister( guard: InterestGuard, selector: &Selector, source: &mut dyn Source )
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InterestGuard
impl Send for InterestGuard
impl Sync for InterestGuard
impl Unpin for InterestGuard
impl UnwindSafe for InterestGuard
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