pub struct AnyProcess<'a> { /* private fields */ }Expand description
A handle matching any source (MPI_ANY_SOURCE); implements Source only.
Trait Implementations§
Source§impl<'a> Clone for AnyProcess<'a>
impl<'a> Clone for AnyProcess<'a>
Source§fn clone(&self) -> AnyProcess<'a>
fn clone(&self) -> AnyProcess<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for AnyProcess<'a>
Source§impl Source for AnyProcess<'_>
impl Source for AnyProcess<'_>
Source§fn source_rank(&self) -> Rank
fn source_rank(&self) -> Rank
The rank being received from (or
MPI_ANY_SOURCE).Source§fn receive<Msg: Equivalence>(&self) -> (Msg, Status)
fn receive<Msg: Equivalence>(&self) -> (Msg, Status)
Receive a single value (
MPI_Recv).Source§fn receive_with_tag<Msg: Equivalence>(&self, tag: Tag) -> (Msg, Status)
fn receive_with_tag<Msg: Equivalence>(&self, tag: Tag) -> (Msg, Status)
Receive a single value with a specific tag.
Source§fn receive_vec<Msg: Equivalence>(&self) -> (Vec<Msg>, Status)
fn receive_vec<Msg: Equivalence>(&self) -> (Vec<Msg>, Status)
Receive a variable number of values into a new
Vec.Source§fn receive_vec_with_tag<Msg: Equivalence>(&self, tag: Tag) -> (Vec<Msg>, Status)
fn receive_vec_with_tag<Msg: Equivalence>(&self, tag: Tag) -> (Vec<Msg>, Status)
Receive a variable number of values into a new
Vec, with a tag.Source§fn receive_into<Buf: BufferMut + ?Sized>(&self, buf: &mut Buf) -> Status
fn receive_into<Buf: BufferMut + ?Sized>(&self, buf: &mut Buf) -> Status
Receive into an existing buffer (
MPI_Recv).Source§fn receive_into_with_tag<Buf: BufferMut + ?Sized>(
&self,
buf: &mut Buf,
tag: Tag,
) -> Status
fn receive_into_with_tag<Buf: BufferMut + ?Sized>( &self, buf: &mut Buf, tag: Tag, ) -> Status
Receive into an existing buffer, with a tag.
Source§fn probe(&self) -> Status
fn probe(&self) -> Status
Blocking probe (
MPI_Probe): wait for a matching message, describe it
without receiving.Source§fn probe_with_tag(&self, tag: Tag) -> Status
fn probe_with_tag(&self, tag: Tag) -> Status
Blocking probe with a tag.
Source§fn immediate_probe(&self) -> Option<Status>
fn immediate_probe(&self) -> Option<Status>
Non-blocking probe (
MPI_Iprobe).Source§fn matched_probe(&self) -> (Message, Status)
fn matched_probe(&self) -> (Message, Status)
Matched probe (
MPI_Mprobe): remove a matching message from the queue
and return a Message to receive it.Source§fn immediate_matched_probe(&self) -> Option<(Message, Status)>
fn immediate_matched_probe(&self) -> Option<(Message, Status)>
Non-blocking matched probe (
MPI_Improbe).Source§fn immediate_matched_probe_with_tag(
&self,
tag: Tag,
) -> Option<(Message, Status)>
fn immediate_matched_probe_with_tag( &self, tag: Tag, ) -> Option<(Message, Status)>
Non-blocking matched probe with a tag.
Source§fn immediate_receive<Msg: Equivalence>(&self) -> ReceiveFuture<Msg>
fn immediate_receive<Msg: Equivalence>(&self) -> ReceiveFuture<Msg>
Non-blocking receive of a single value, returning a
ReceiveFuture.Source§fn immediate_receive_with_tag<Msg: Equivalence>(
&self,
tag: Tag,
) -> ReceiveFuture<Msg>
fn immediate_receive_with_tag<Msg: Equivalence>( &self, tag: Tag, ) -> ReceiveFuture<Msg>
Non-blocking receive of a single value with a tag.
Source§fn immediate_receive_into<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a mut Buf,
) -> Request<'a, Buf, Sc>
fn immediate_receive_into<'a, Sc, Buf>( &self, scope: Sc, buf: &'a mut Buf, ) -> Request<'a, Buf, Sc>
Non-blocking receive into an existing buffer (
MPI_Irecv), returning a
Request that must be completed via wait/test.Source§fn immediate_receive_into_with_tag<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a mut Buf,
tag: Tag,
) -> Request<'a, Buf, Sc>
fn immediate_receive_into_with_tag<'a, Sc, Buf>( &self, scope: Sc, buf: &'a mut Buf, tag: Tag, ) -> Request<'a, Buf, Sc>
Non-blocking receive into a buffer, with a tag.
Source§fn receive_init<'a, Buf: BufferMut + ?Sized>(
&self,
buf: &'a mut Buf,
) -> PersistentRequest<'a>
fn receive_init<'a, Buf: BufferMut + ?Sized>( &self, buf: &'a mut Buf, ) -> PersistentRequest<'a>
Create a persistent receive request bound to
buf (MPI_Recv_init).
start it (and wait) repeatedly to re-post the receive.Auto Trait Implementations§
impl<'a> Freeze for AnyProcess<'a>
impl<'a> RefUnwindSafe for AnyProcess<'a>
impl<'a> Send for AnyProcess<'a>
impl<'a> Sync for AnyProcess<'a>
impl<'a> Unpin for AnyProcess<'a>
impl<'a> UnsafeUnpin for AnyProcess<'a>
impl<'a> UnwindSafe for AnyProcess<'a>
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