Struct mpi::point_to_point::ReceiveFuture
[−]
[src]
#[must_use]pub struct ReceiveFuture<T> { /* fields omitted */ }
Will contain a value of type T
received via a non-blocking receive operation.
Methods
impl<T> ReceiveFuture<T> where
T: Equivalence,
[src]
T: Equivalence,
pub fn get(self) -> (T, Status)
[src]
Wait for the receive operation to finish and return the received data.
pub fn try(self) -> Result<(T, Status), Self>
[src]
Check whether the receive operation has finished.
If the operation has finished, the data received is returned. Otherwise the future itself is returned.