dope-core 0.34.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
15
16
use std::{mem, num};

#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Error {
    ParentStale,
    WakeHopCeiling {
        minimum: usize,
        maximum: usize,
    },
    Capacity {
        requested: num::NonZero<usize>,
        available: usize,
    },
}

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