pub struct Process<'a, C>where
C: 'a + Communicator,{ /* private fields */ }
Expand description
Identifies a process by its Rank
within a certain communicator.
Implementations§
Trait Implementations§
Source§impl<'a, C> AsCommunicator for Process<'a, C>where
C: 'a + Communicator,
impl<'a, C> AsCommunicator for Process<'a, C>where
C: 'a + Communicator,
Source§impl<'a, C> Destination for Process<'a, C>where
C: 'a + Communicator,
impl<'a, C> Destination for Process<'a, C>where
C: 'a + Communicator,
Source§fn destination_rank(&self) -> Rank
fn destination_rank(&self) -> Rank
Rank
that identifies the destinationSource§fn send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
fn send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
Blocking standard mode send operation Read more
Source§fn buffered_send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
fn buffered_send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
Blocking buffered mode send operation Read more
Source§fn buffered_send<Buf>(&self, buf: &Buf)
fn buffered_send<Buf>(&self, buf: &Buf)
Blocking buffered mode send operation Read more
Source§fn synchronous_send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
fn synchronous_send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
Blocking synchronous mode send operation Read more
Source§fn synchronous_send<Buf>(&self, buf: &Buf)
fn synchronous_send<Buf>(&self, buf: &Buf)
Blocking synchronous mode send operation Read more
Source§fn ready_send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
fn ready_send_with_tag<Buf>(&self, buf: &Buf, tag: Tag)
Blocking ready mode send operation Read more
Source§fn ready_send<Buf>(&self, buf: &Buf)
fn ready_send<Buf>(&self, buf: &Buf)
Blocking ready mode send operation Read more
Source§fn immediate_send_with_tag<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a Buf,
tag: Tag,
) -> Request<'a, Sc>
fn immediate_send_with_tag<'a, Sc, Buf>( &self, scope: Sc, buf: &'a Buf, tag: Tag, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) standard mode send operation. Read more
Source§fn immediate_send<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a Buf,
) -> Request<'a, Sc>
fn immediate_send<'a, Sc, Buf>( &self, scope: Sc, buf: &'a Buf, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) standard mode send operation. Read more
Source§fn immediate_buffered_send_with_tag<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a Buf,
tag: Tag,
) -> Request<'a, Sc>
fn immediate_buffered_send_with_tag<'a, Sc, Buf>( &self, scope: Sc, buf: &'a Buf, tag: Tag, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) buffered mode send operation. Read more
Source§fn immediate_buffered_send<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a Buf,
) -> Request<'a, Sc>
fn immediate_buffered_send<'a, Sc, Buf>( &self, scope: Sc, buf: &'a Buf, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) buffered mode send operation. Read more
Source§fn immediate_synchronous_send_with_tag<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a Buf,
tag: Tag,
) -> Request<'a, Sc>
fn immediate_synchronous_send_with_tag<'a, Sc, Buf>( &self, scope: Sc, buf: &'a Buf, tag: Tag, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) synchronous mode send operation. Read more
Source§fn immediate_synchronous_send<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a Buf,
) -> Request<'a, Sc>
fn immediate_synchronous_send<'a, Sc, Buf>( &self, scope: Sc, buf: &'a Buf, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) synchronous mode send operation. Read more
Source§impl<'a, C: 'a + Communicator> Root for Process<'a, C>
impl<'a, C: 'a + Communicator> Root for Process<'a, C>
Source§fn broadcast_into<Buf>(&self, buffer: &mut Buf)
fn broadcast_into<Buf>(&self, buffer: &mut Buf)
Broadcast of the contents of a buffer Read more
Source§fn gather_into<S>(&self, sendbuf: &S)
fn gather_into<S>(&self, sendbuf: &S)
Gather contents of buffers on
Root
. Read moreSource§fn gather_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
fn gather_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
Gather contents of buffers on
Root
. Read moreSource§fn gather_varcount_into<S>(&self, sendbuf: &S)
fn gather_varcount_into<S>(&self, sendbuf: &S)
Gather contents of buffers on
Root
. Read moreSource§fn gather_varcount_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
fn gather_varcount_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
Gather contents of buffers on
Root
. Read moreSource§fn scatter_into<R>(&self, recvbuf: &mut R)
fn scatter_into<R>(&self, recvbuf: &mut R)
Scatter contents of a buffer on the root process to all processes. Read more
Source§fn scatter_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
fn scatter_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
Scatter contents of a buffer on the root process to all processes. Read more
Source§fn scatter_varcount_into<R>(&self, recvbuf: &mut R)
fn scatter_varcount_into<R>(&self, recvbuf: &mut R)
Scatter contents of a buffer on the root process to all processes. Read more
Source§fn scatter_varcount_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
fn scatter_varcount_into_root<S, R>(&self, sendbuf: &S, recvbuf: &mut R)
Scatter contents of a buffer on the root process to all processes. Read more
Source§fn reduce_into<S, O>(&self, sendbuf: &S, op: O)
fn reduce_into<S, O>(&self, sendbuf: &S, op: O)
Performs a global reduction under the operation
op
of the input data in sendbuf
and
stores the result on the Root
process. Read moreSource§fn reduce_into_root<S, R, O>(&self, sendbuf: &S, recvbuf: &mut R, op: O)
fn reduce_into_root<S, R, O>(&self, sendbuf: &S, recvbuf: &mut R, op: O)
Performs a global reduction under the operation
op
of the input data in sendbuf
and
stores the result on the Root
process. Read moreSource§fn immediate_broadcast_into<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a mut Buf,
) -> Request<'a, Sc>
fn immediate_broadcast_into<'a, Sc, Buf>( &self, scope: Sc, buf: &'a mut Buf, ) -> Request<'a, Sc>
Initiate broadcast of a value from the
Root
process to all other processes. Read moreSource§fn immediate_gather_into<'a, Sc, S>(
&self,
scope: Sc,
sendbuf: &'a S,
) -> Request<'a, Sc>
fn immediate_gather_into<'a, Sc, S>( &self, scope: Sc, sendbuf: &'a S, ) -> Request<'a, Sc>
Source§fn immediate_gather_into_root<'a, Sc, S, R>(
&self,
scope: Sc,
sendbuf: &'a S,
recvbuf: &'a mut R,
) -> Request<'a, Sc>
fn immediate_gather_into_root<'a, Sc, S, R>( &self, scope: Sc, sendbuf: &'a S, recvbuf: &'a mut R, ) -> Request<'a, Sc>
Source§fn immediate_gather_varcount_into<'a, Sc, S>(
&self,
scope: Sc,
sendbuf: &'a S,
) -> Request<'a, Sc>
fn immediate_gather_varcount_into<'a, Sc, S>( &self, scope: Sc, sendbuf: &'a S, ) -> Request<'a, Sc>
Source§fn immediate_gather_varcount_into_root<'a, Sc, S, R>(
&self,
scope: Sc,
sendbuf: &'a S,
recvbuf: &'a mut R,
) -> Request<'a, Sc>
fn immediate_gather_varcount_into_root<'a, Sc, S, R>( &self, scope: Sc, sendbuf: &'a S, recvbuf: &'a mut R, ) -> Request<'a, Sc>
Source§fn immediate_scatter_into<'a, Sc, R>(
&self,
scope: Sc,
recvbuf: &'a mut R,
) -> Request<'a, Sc>
fn immediate_scatter_into<'a, Sc, R>( &self, scope: Sc, recvbuf: &'a mut R, ) -> Request<'a, Sc>
Source§fn immediate_scatter_into_root<'a, Sc, S, R>(
&self,
scope: Sc,
sendbuf: &'a S,
recvbuf: &'a mut R,
) -> Request<'a, Sc>
fn immediate_scatter_into_root<'a, Sc, S, R>( &self, scope: Sc, sendbuf: &'a S, recvbuf: &'a mut R, ) -> Request<'a, Sc>
Source§fn immediate_scatter_varcount_into<'a, Sc, R>(
&self,
scope: Sc,
recvbuf: &'a mut R,
) -> Request<'a, Sc>
fn immediate_scatter_varcount_into<'a, Sc, R>( &self, scope: Sc, recvbuf: &'a mut R, ) -> Request<'a, Sc>
Source§fn immediate_scatter_varcount_into_root<'a, Sc, S, R>(
&self,
scope: Sc,
sendbuf: &'a S,
recvbuf: &'a mut R,
) -> Request<'a, Sc>
fn immediate_scatter_varcount_into_root<'a, Sc, S, R>( &self, scope: Sc, sendbuf: &'a S, recvbuf: &'a mut R, ) -> Request<'a, Sc>
Source§fn immediate_reduce_into<'a, Sc, S, O>(
&self,
scope: Sc,
sendbuf: &'a S,
op: O,
) -> Request<'a, Sc>
fn immediate_reduce_into<'a, Sc, S, O>( &self, scope: Sc, sendbuf: &'a S, op: O, ) -> Request<'a, Sc>
Initiates a non-blacking global reduction under the operation
op
of the input data in
sendbuf
and stores the result on the Root
process. Read moreSource§impl<'a, C> Source for Process<'a, C>where
C: 'a + Communicator,
impl<'a, C> Source for Process<'a, C>where
C: 'a + Communicator,
Source§fn source_rank(&self) -> Rank
fn source_rank(&self) -> Rank
Rank
that identifies the sourceSource§fn matched_probe_with_tag(&self, tag: Tag) -> (Message, Status)
fn matched_probe_with_tag(&self, tag: Tag) -> (Message, Status)
Probe a source for incoming messages with guaranteed reception. Read more
Source§fn matched_probe(&self) -> (Message, Status)
fn matched_probe(&self) -> (Message, Status)
Probe a source for incoming messages with guaranteed reception. Read more
Source§fn receive_with_tag<Msg>(&self, tag: Tag) -> (Msg, Status)where
Msg: Equivalence,
fn receive_with_tag<Msg>(&self, tag: Tag) -> (Msg, Status)where
Msg: Equivalence,
Receive a message containing a single instance of type
Msg
. Read moreSource§fn receive<Msg>(&self) -> (Msg, Status)where
Msg: Equivalence,
fn receive<Msg>(&self) -> (Msg, Status)where
Msg: Equivalence,
Receive a message containing a single instance of type
Msg
. Read moreSource§fn receive_into_with_tag<Buf>(&self, buf: &mut Buf, tag: Tag) -> Status
fn receive_into_with_tag<Buf>(&self, buf: &mut Buf, tag: Tag) -> Status
Receive a message into a
Buffer
. Read moreSource§fn receive_into<Buf>(&self, buf: &mut Buf) -> Status
fn receive_into<Buf>(&self, buf: &mut Buf) -> Status
Receive a message into a
Buffer
. Read moreSource§fn receive_vec_with_tag<Msg>(&self, tag: Tag) -> (Vec<Msg>, Status)where
Msg: Equivalence,
fn receive_vec_with_tag<Msg>(&self, tag: Tag) -> (Vec<Msg>, Status)where
Msg: Equivalence,
Source§fn receive_vec<Msg>(&self) -> (Vec<Msg>, Status)where
Msg: Equivalence,
fn receive_vec<Msg>(&self) -> (Vec<Msg>, Status)where
Msg: Equivalence,
Source§fn immediate_receive_into_with_tag<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a mut Buf,
tag: Tag,
) -> Request<'a, Sc>
fn immediate_receive_into_with_tag<'a, Sc, Buf>( &self, scope: Sc, buf: &'a mut Buf, tag: Tag, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) receive operation. Read more
Source§fn immediate_receive_into<'a, Sc, Buf>(
&self,
scope: Sc,
buf: &'a mut Buf,
) -> Request<'a, Sc>
fn immediate_receive_into<'a, Sc, Buf>( &self, scope: Sc, buf: &'a mut Buf, ) -> Request<'a, Sc>
Initiate an immediate (non-blocking) receive operation. Read more
Source§fn immediate_receive_with_tag<Msg>(&self, tag: Tag) -> ReceiveFuture<Msg>where
Msg: Equivalence,
fn immediate_receive_with_tag<Msg>(&self, tag: Tag) -> ReceiveFuture<Msg>where
Msg: Equivalence,
Initiate a non-blocking receive operation for messages matching tag
tag
. Read moreSource§fn immediate_receive<Msg>(&self) -> ReceiveFuture<Msg>where
Msg: Equivalence,
fn immediate_receive<Msg>(&self) -> ReceiveFuture<Msg>where
Msg: Equivalence,
Initiate a non-blocking receive operation. Read more
Source§fn immediate_probe_with_tag(&self, tag: Tag) -> Option<Status>
fn immediate_probe_with_tag(&self, tag: Tag) -> Option<Status>
Asynchronously probe a source for incoming messages. Read more
Source§fn immediate_probe(&self) -> Option<Status>
fn immediate_probe(&self) -> Option<Status>
Asynchronously probe a source for incoming messages. Read more
impl<'a, C> Copy for Process<'a, C>where
C: 'a + Communicator + Copy,
Auto Trait Implementations§
impl<'a, C> Freeze for Process<'a, C>
impl<'a, C> RefUnwindSafe for Process<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for Process<'a, C>where
C: Sync,
impl<'a, C> Sync for Process<'a, C>where
C: Sync,
impl<'a, C> Unpin for Process<'a, C>
impl<'a, C> UnwindSafe for Process<'a, C>where
C: RefUnwindSafe,
Blanket Implementations§
Source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
Source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
Source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
Source§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
Source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
Source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
Source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.