o3 0.22.0

shared-nothing primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// The observed occupancy when an exact ring reservation was rejected.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct Full {
    pub(super) used: usize,
    pub(super) capacity: usize,
}

impl Full {
    pub const fn used(self) -> usize {
        self.used
    }

    pub const fn capacity(self) -> usize {
        self.capacity
    }
}