pub struct UnparkEvent { /* private fields */ }
👎Deprecated: recommended to use
FuturesUnordered
insteadExpand description
A set insertion to trigger upon unpark
.
Unpark events are used to communicate information about why an unpark
occurred, in particular populating sets with event identifiers so that the
unparked task can avoid extraneous polling. See with_unpark_event
for
more.
Implementations§
Source§impl UnparkEvent
impl UnparkEvent
Trait Implementations§
Source§impl Clone for UnparkEvent
impl Clone for UnparkEvent
Source§fn clone(&self) -> UnparkEvent
fn clone(&self) -> UnparkEvent
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 moreAuto Trait Implementations§
impl Freeze for UnparkEvent
impl !RefUnwindSafe for UnparkEvent
impl Send for UnparkEvent
impl Sync for UnparkEvent
impl Unpin for UnparkEvent
impl !UnwindSafe for UnparkEvent
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