pub enum SelectorModification {
Add {
handler: Box<dyn InterestHandler + Send + Sync>,
token: Token,
},
Remove {
token: Token,
},
Replace {
token: Token,
handler: Box<dyn InterestHandler + Send + Sync>,
},
PushInterest {
token: Token,
interest: InterestType,
},
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelectorModification
impl !RefUnwindSafe for SelectorModification
impl Send for SelectorModification
impl Sync for SelectorModification
impl Unpin for SelectorModification
impl !UnwindSafe for SelectorModification
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