pub struct NoCommitAgreement;Expand description
Proof that this execution path selects no distributed commit barrier.
Trait Implementations§
Source§impl Clone for NoCommitAgreement
impl Clone for NoCommitAgreement
Source§fn clone(&self) -> NoCommitAgreement
fn clone(&self) -> NoCommitAgreement
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 moreimpl Copy for NoCommitAgreement
Source§impl Debug for NoCommitAgreement
impl Debug for NoCommitAgreement
Source§impl Default for NoCommitAgreement
impl Default for NoCommitAgreement
Source§fn default() -> NoCommitAgreement
fn default() -> NoCommitAgreement
Returns the “default value” for a type. Read more
Source§impl<B, G, R, I> PartitionCommitAgreement<B, G, R, I> for NoCommitAgreementwhere
B: CommunicationBackend,
G: Borrow<B::CommunicationGroup>,
R: Borrow<B::CommunicationRoute>,
I: CommunicationTensorMetadata<B>,
impl<B, G, R, I> PartitionCommitAgreement<B, G, R, I> for NoCommitAgreementwhere
B: CommunicationBackend,
G: Borrow<B::CommunicationGroup>,
R: Borrow<B::CommunicationRoute>,
I: CommunicationTensorMetadata<B>,
Source§fn commit(
&mut self,
_communication: &PartitionCommunication<B, G, R, I>,
_group: CollectiveGroupId,
epoch: DistributedCommitEpoch,
_executor: &B::Executor,
) -> DistributedCommitOutcome
fn commit( &mut self, _communication: &PartitionCommunication<B, G, R, I>, _group: CollectiveGroupId, epoch: DistributedCommitEpoch, _executor: &B::Executor, ) -> DistributedCommitOutcome
Returns this rank’s honest observation of the globally identified final decision.
Source§const PHASE_FAILURE_AGREEMENT: bool = false
const PHASE_FAILURE_AGREEMENT: bool = false
Whether this policy propagates an explicit success status at every
canonical shared-session phase.
Source§fn agree_phase(
&mut self,
_communication: &PartitionCommunication<B, G, R, I>,
_group: CollectiveGroupId,
_phase: DistributedExecutionPhase,
local_success: bool,
_executor: &B::Executor,
) -> Result<bool, PartitionExecutionError>
fn agree_phase( &mut self, _communication: &PartitionCommunication<B, G, R, I>, _group: CollectiveGroupId, _phase: DistributedExecutionPhase, local_success: bool, _executor: &B::Executor, ) -> Result<bool, PartitionExecutionError>
Returns the conjunction of every member’s local phase status. Read more
Source§fn agree_phase_after_prior_failure(
&mut self,
communication: &PartitionCommunication<B, G, R, I>,
group: CollectiveGroupId,
phase: DistributedExecutionPhase,
local_success: bool,
executor: &B::Executor,
) -> Result<bool, PartitionExecutionError>
fn agree_phase_after_prior_failure( &mut self, communication: &PartitionCommunication<B, G, R, I>, group: CollectiveGroupId, phase: DistributedExecutionPhase, local_success: bool, executor: &B::Executor, ) -> Result<bool, PartitionExecutionError>
Performs the canonical all-rank agreement after an earlier subgroup
communication failure poisoned the local session authority. Read more
Auto Trait Implementations§
impl Freeze for NoCommitAgreement
impl RefUnwindSafe for NoCommitAgreement
impl Send for NoCommitAgreement
impl Sync for NoCommitAgreement
impl Unpin for NoCommitAgreement
impl UnsafeUnpin for NoCommitAgreement
impl UnwindSafe for NoCommitAgreement
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