o3 0.62.0

shared-nothing primitives
Documentation
use crate::{alloc, depot::capacity};

pub mod total;

/// Two observed values whose sum is outside their exact domain.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct Overflow<T = usize> {
    pub current: T,
    pub added: T,
}
/// Exact failure while preparing a fresh retained-segment chain.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Error {
    Metadata(alloc::Error),
    Total(total::Error),
    Nodes {
        shortage: capacity::Shortage,
        allocation: alloc::Error,
    },
    Descriptors {
        shortage: capacity::Shortage,
        allocation: alloc::Error,
    },
}

const _: () = assert!(size_of::<Error>() == 4 * size_of::<usize>());