pub trait BarrierBackend: CommunicationBackend {
// Required method
fn barrier(
group: &Self::CommunicationGroup,
executor: &Self::Executor,
) -> Result<Self::CommunicationCompletion, Self::CommunicationError>;
}Expand description
Payload-free agreement on an opaque communication group.
Required Methods§
Sourcefn barrier(
group: &Self::CommunicationGroup,
executor: &Self::Executor,
) -> Result<Self::CommunicationCompletion, Self::CommunicationError>
fn barrier( group: &Self::CommunicationGroup, executor: &Self::Executor, ) -> Result<Self::CommunicationCompletion, Self::CommunicationError>
Submits a barrier and returns its exact completion.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".