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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)