o3 0.62.0

shared-nothing primitives
Documentation
//! Fixed-domain insertion-ordered round-robin membership.

use crate::depot::queue::{indexed::shared, links};

pub mod phase;
pub mod raw;
pub mod set;

/// The first admission failed against this allocation's exact domain.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Bounds {
    Slot { index: usize, capacity: usize },
    Lane { index: usize, capacity: usize },
}

impl From<shared::Bounds> for Bounds {
    fn from(cause: shared::Bounds) -> Self {
        Self::Slot {
            index: cause.index,
            capacity: cause.capacity,
        }
    }
}

#[derive(Clone, Copy, Debug)]
#[repr(C)]
pub(in crate::depot::queue::round) struct Position {
    pub lane: links::Index,
    pub index: links::Index,
}

pub mod values;