dope-uring 0.43.0

Owned io_uring backend for dope
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::mem;

use dope_sys::Errno;

#[derive(Clone, Copy, Debug)]
pub enum Wait {
    Read(Errno),
}

const _: () = {
    assert!(mem::size_of::<Wait>() == mem::size_of::<Errno>());
    assert!(mem::align_of::<Wait>() == mem::align_of::<Errno>());
    assert!(mem::size_of::<Result<(), Wait>>() == mem::size_of::<Errno>());
};