o3 0.35.0

shared-nothing primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{alloc, buffer::segments::assembly::total, depot::capacity};

/// 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>());