pub struct PartitionOrderViolation {
pub attempted: u64,
pub max_held: u64,
}Expand description
Error returned when a same-thread partition acquire violates ascending order. Phase H+ STRICT variant (D115).
The ascending-order protocol prevents AB/BA deadlocks between
threads. When this error surfaces, the caller should defer the
operation to wave-end (when no partitions are held) and retry.
Vestigial (§7, D208–D211, 2026-05-16). The union-find ascending-
order acquisition discipline that this represented is deleted:
scheduling groups are user-declared + static and the wave engine
acquires the whole touched-group set sorted upfront, so there is
no incremental mid-wave acquisition that could violate ordering.
This type is never constructed post-§7. It is retained only so
SubscribeError::PartitionOrderViolation and the Err(_) match arms
in graphrefly-operators compile unchanged (D211 minimal-churn);
removing the type + those arms is a tracked downstream-churn
follow-on (porting-deferred.md).
Fields§
§attempted: u64Vestigial. Unused; retained for struct-shape stability only.
max_held: u64Vestigial. Unused; retained for struct-shape stability only.
Trait Implementations§
Source§impl Clone for PartitionOrderViolation
impl Clone for PartitionOrderViolation
Source§fn clone(&self) -> PartitionOrderViolation
fn clone(&self) -> PartitionOrderViolation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PartitionOrderViolation
impl Debug for PartitionOrderViolation
Source§impl Display for PartitionOrderViolation
impl Display for PartitionOrderViolation
Source§impl Error for PartitionOrderViolation
impl Error for PartitionOrderViolation
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<PartitionOrderViolation> for SubscribeError
impl From<PartitionOrderViolation> for SubscribeError
Source§fn from(source: PartitionOrderViolation) -> Self
fn from(source: PartitionOrderViolation) -> Self
Source§impl PartialEq for PartitionOrderViolation
impl PartialEq for PartitionOrderViolation
Source§fn eq(&self, other: &PartitionOrderViolation) -> bool
fn eq(&self, other: &PartitionOrderViolation) -> bool
self and other values to be equal, and is used by ==.impl Eq for PartitionOrderViolation
impl StructuralPartialEq for PartitionOrderViolation
Auto Trait Implementations§
impl Freeze for PartitionOrderViolation
impl RefUnwindSafe for PartitionOrderViolation
impl Send for PartitionOrderViolation
impl Sync for PartitionOrderViolation
impl Unpin for PartitionOrderViolation
impl UnsafeUnpin for PartitionOrderViolation
impl UnwindSafe for PartitionOrderViolation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.