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