pub struct Subscribe<'a, 'b, K, V, Lock = DefaultMutex>where
K: PartialEq,
Lock: ScopedRawMutex,{ /* private fields */ }
Expand description
A future that ensures a Wait
has been added to a WaitMap
.
See Wait::subscribe
for more information and usage example.
Trait Implementations§
§impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>where
K: PartialEq,
Lock: ScopedRawMutex,
impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>where
K: PartialEq,
Lock: ScopedRawMutex,
Auto Trait Implementations§
impl<'a, 'b, K, V, Lock = DefaultMutex> !RefUnwindSafe for Subscribe<'a, 'b, K, V, Lock>
impl<'a, 'b, K, V, Lock> Send for Subscribe<'a, 'b, K, V, Lock>
impl<'a, 'b, K, V, Lock = DefaultMutex> !Sync for Subscribe<'a, 'b, K, V, Lock>
impl<'a, 'b, K, V, Lock> Unpin for Subscribe<'a, 'b, K, V, Lock>
impl<'a, 'b, K, V, Lock = DefaultMutex> !UnwindSafe for Subscribe<'a, 'b, K, V, Lock>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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