o3 0.36.1

shared-nothing primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::num::NonZero;

/// The exact capacity that rejected an incoming nonempty owner.
#[derive(Debug, PartialEq, Eq)]
pub enum Error {
    Bytes {
        requested: NonZero<usize>,
        available: usize,
    },
    Segments {
        capacity: usize,
    },
}

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