dope-core 0.24.0

Owned native I/O and completion driver for dope
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use o3::depot::capacity;

#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct Overflow {
    actual: usize,
}

impl From<capacity::Error> for Overflow {
    fn from(error: capacity::Error) -> Self {
        Self {
            actual: error.requested(),
        }
    }
}