pub struct AwaitAllOperation<'c> { /* private fields */ }
Expand description
An await_all
operation. Waits for the all async tokens or values in the group to become ready.
The async.await_all
operation waits until all the tokens or values in the
group become ready.
Example:
%0 = async.create_group %size : !async.group
%1 = ... : !async.token
%2 = async.add_to_group %1, %0 : !async.token
%3 = ... : !async.token
%4 = async.add_to_group %2, %0 : !async.token
async.await_all %0
Implementations§
source§impl<'c> AwaitAllOperation<'c>
impl<'c> AwaitAllOperation<'c>
Trait Implementations§
source§impl<'c> From<AwaitAllOperation<'c>> for Operation<'c>
impl<'c> From<AwaitAllOperation<'c>> for Operation<'c>
source§fn from(operation: AwaitAllOperation<'c>) -> Self
fn from(operation: AwaitAllOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for AwaitAllOperation<'c>
impl<'c> !Send for AwaitAllOperation<'c>
impl<'c> !Sync for AwaitAllOperation<'c>
impl<'c> Unpin for AwaitAllOperation<'c>
impl<'c> UnwindSafe for AwaitAllOperation<'c>
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