struct CondVarAwait<'a, T> {
id: Option<u16>,
condvar: &'a CondVar,
guard: Option<MutexGuard<'a, T>>,
}
Fields§
§id: Option<u16>
§condvar: &'a CondVar
§guard: Option<MutexGuard<'a, T>>
Implementations§
Source§impl<'a, T> CondVarAwait<'a, T>
impl<'a, T> CondVarAwait<'a, T>
fn new(condvar: &'a CondVar, guard: MutexGuard<'a, T>) -> Self
Trait Implementations§
Source§impl<T> Drop for CondVarAwait<'_, T>
impl<T> Drop for CondVarAwait<'_, T>
Source§impl<T> Future for CondVarAwait<'_, T>
impl<T> Future for CondVarAwait<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for CondVarAwait<'a, T>
impl<'a, T> !RefUnwindSafe for CondVarAwait<'a, T>
impl<'a, T> Send for CondVarAwait<'a, T>where
T: Send,
impl<'a, T> Sync for CondVarAwait<'a, T>where
T: Sync,
impl<'a, T> Unpin for CondVarAwait<'a, T>
impl<'a, T> !UnwindSafe for CondVarAwait<'a, T>
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<F> FutureExt for F
impl<F> FutureExt for F
§fn catch_unwind(self) -> CatchUnwind<Self>where
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self>where
Self: Sized + UnwindSafe,
Catches panics while polling the future. 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>
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§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