pub struct DistributedCapabilities { /* private fields */ }Expand description
Fail-closed distributed operations exposed by one selected session.
Implementations§
Source§impl DistributedCapabilities
impl DistributedCapabilities
Sourcepub fn new(
world_collectives: bool,
collective_groups: impl IntoIterator<Item = CollectiveGroupId>,
point_to_point: bool,
variable_all_to_all: bool,
exact_completion: bool,
) -> Self
pub fn new( world_collectives: bool, collective_groups: impl IntoIterator<Item = CollectiveGroupId>, point_to_point: bool, variable_all_to_all: bool, exact_completion: bool, ) -> Self
Creates an exact mechanism capability report.
Sourcepub const fn world_collectives(&self) -> bool
pub const fn world_collectives(&self) -> bool
Returns whether world-scoped collectives are available.
Sourcepub fn collective_groups(&self) -> &[CollectiveGroupId]
pub fn collective_groups(&self) -> &[CollectiveGroupId]
Returns opaque groups supporting collectives.
Sourcepub const fn point_to_point(&self) -> bool
pub const fn point_to_point(&self) -> bool
Returns whether point-to-point transfers are available.
Sourcepub const fn variable_all_to_all(&self) -> bool
pub const fn variable_all_to_all(&self) -> bool
Returns whether variable-count all-to-all is available.
Sourcepub const fn exact_completion(&self) -> bool
pub const fn exact_completion(&self) -> bool
Returns whether submissions have exact completion objects.
Trait Implementations§
Source§impl Clone for DistributedCapabilities
impl Clone for DistributedCapabilities
Source§fn clone(&self) -> DistributedCapabilities
fn clone(&self) -> DistributedCapabilities
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 moreSource§impl Debug for DistributedCapabilities
impl Debug for DistributedCapabilities
Source§impl Default for DistributedCapabilities
impl Default for DistributedCapabilities
Source§fn default() -> DistributedCapabilities
fn default() -> DistributedCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DistributedCapabilities
impl<'de> Deserialize<'de> for DistributedCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DistributedCapabilities
Source§impl PartialEq for DistributedCapabilities
impl PartialEq for DistributedCapabilities
Source§impl Serialize for DistributedCapabilities
impl Serialize for DistributedCapabilities
impl StructuralPartialEq for DistributedCapabilities
Auto Trait Implementations§
impl Freeze for DistributedCapabilities
impl RefUnwindSafe for DistributedCapabilities
impl Send for DistributedCapabilities
impl Sync for DistributedCapabilities
impl Unpin for DistributedCapabilities
impl UnsafeUnpin for DistributedCapabilities
impl UnwindSafe for DistributedCapabilities
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