Struct virtual_mio::InterestWakerMap
source · pub struct InterestWakerMap { /* private fields */ }
Implementations§
source§impl InterestWakerMap
impl InterestWakerMap
pub fn add(&self, interest: InterestType, waker: &Waker)
pub fn pop(&self, interest: InterestType) -> bool
pub fn push(&self, interest: InterestType) -> bool
Trait Implementations§
source§impl Clone for InterestWakerMap
impl Clone for InterestWakerMap
source§fn clone(&self) -> InterestWakerMap
fn clone(&self) -> InterestWakerMap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InterestWakerMap
impl Debug for InterestWakerMap
source§impl Default for InterestWakerMap
impl Default for InterestWakerMap
source§fn default() -> InterestWakerMap
fn default() -> InterestWakerMap
Returns the “default value” for a type. Read more
source§impl InterestHandler for InterestWakerMap
impl InterestHandler for InterestWakerMap
fn push_interest(&mut self, interest: InterestType)
fn pop_interest(&mut self, interest: InterestType) -> bool
fn has_interest(&self, interest: InterestType) -> bool
Auto Trait Implementations§
impl Freeze for InterestWakerMap
impl RefUnwindSafe for InterestWakerMap
impl Send for InterestWakerMap
impl Sync for InterestWakerMap
impl Unpin for InterestWakerMap
impl UnwindSafe for InterestWakerMap
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