pub struct WaitFor<'group, F, List> { /* private fields */ }
Expand description
Future type for the [Group::wait_for
] method.
Trait Implementations§
Source§impl<'group, F: Ord, List: Ord> Ord for WaitFor<'group, F, List>
impl<'group, F: Ord, List: Ord> Ord for WaitFor<'group, F, List>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'group, F: PartialOrd, List: PartialOrd> PartialOrd for WaitFor<'group, F, List>
impl<'group, F: PartialOrd, List: PartialOrd> PartialOrd for WaitFor<'group, F, List>
impl<'group, F: Eq, List: Eq> Eq for WaitFor<'group, F, List>
impl<'group, F, List> StructuralPartialEq for WaitFor<'group, F, List>
impl<'__pin, 'group, F, List> Unpin for WaitFor<'group, F, List>where
PinnedFieldsOf<__Origin<'__pin, 'group, F, List>>: Unpin,
Auto Trait Implementations§
impl<'group, F, List> Freeze for WaitFor<'group, F, List>where
F: Freeze,
impl<'group, F, List> RefUnwindSafe for WaitFor<'group, F, List>where
F: RefUnwindSafe,
List: RefUnwindSafe,
impl<'group, F, List> Send for WaitFor<'group, F, List>
impl<'group, F, List> Sync for WaitFor<'group, F, List>
impl<'group, F, List> !UnwindSafe for WaitFor<'group, F, List>
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,
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