pub struct AnyProcess<'a, C>(/* private fields */)
where
C: 'a + Communicator;
Expand description
Identifies an arbitrary process that is a member of a certain communicator, e.g. for use as a
Source
in point to point communication.
Trait Implementations§
Source§impl<'a, C> AsCommunicator for AnyProcess<'a, C>where
C: 'a + Communicator,
impl<'a, C> AsCommunicator for AnyProcess<'a, C>where
C: 'a + Communicator,
Source§impl<'a, C> Source for AnyProcess<'a, C>where
C: 'a + Communicator,
impl<'a, C> Source for AnyProcess<'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
Auto Trait Implementations§
impl<'a, C> Freeze for AnyProcess<'a, C>
impl<'a, C> RefUnwindSafe for AnyProcess<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for AnyProcess<'a, C>where
C: Sync,
impl<'a, C> Sync for AnyProcess<'a, C>where
C: Sync,
impl<'a, C> Unpin for AnyProcess<'a, C>
impl<'a, C> UnwindSafe for AnyProcess<'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, 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.