Struct maitake_sync::wait_map::EnqueueWait
source · pub struct EnqueueWait<'a, 'b, K: PartialEq, V> { /* private fields */ }
Expand description
A future that ensures a Wait
has been added to a WaitMap
.
See Wait::enqueue
for more information and usage example.
Trait Implementations§
source§impl<'a, 'b, K: PartialEq, V> Future for EnqueueWait<'a, 'b, K, V>
impl<'a, 'b, K: PartialEq, V> Future for EnqueueWait<'a, 'b, K, V>
Auto Trait Implementations§
impl<'a, 'b, K, V> Freeze for EnqueueWait<'a, 'b, K, V>
impl<'a, 'b, K, V> !RefUnwindSafe for EnqueueWait<'a, 'b, K, V>
impl<'a, 'b, K, V> Send for EnqueueWait<'a, 'b, K, V>
impl<'a, 'b, K, V> !Sync for EnqueueWait<'a, 'b, K, V>
impl<'a, 'b, K, V> Unpin for EnqueueWait<'a, 'b, K, V>
impl<'a, 'b, K, V> !UnwindSafe for EnqueueWait<'a, 'b, K, V>
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more