Trait mpi::topology::AsCommunicator
[−]
[src]
pub trait AsCommunicator { type Out: Communicator; fn as_communicator(&self) -> &Self::Out; }
Something that has a communicator associated with it
Associated Types
type Out: Communicator
The type of the associated communicator
Required Methods
fn as_communicator(&self) -> &Self::Out
Returns the associated communicator.
Implementors
impl AsCommunicator for SystemCommunicator type Out = SystemCommunicator;
impl AsCommunicator for UserCommunicator type Out = UserCommunicator;
impl<'a, C> AsCommunicator for Process<'a, C> where
C: 'a + Communicator, type Out = C;impl<'a, C> AsCommunicator for AnyProcess<'a, C> where
C: 'a + Communicator, type Out = C;