dope-uring 0.2.3

Thin io_uring adaptor with "Manifolds"
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::os::fd::AsRawFd;

use io_uring::types;

use crate::Fd;

pub(crate) trait FdUringExt {
    fn uring(&self) -> types::Fd;
}

impl FdUringExt for Fd {
    fn uring(&self) -> types::Fd {
        types::Fd(self.as_raw_fd())
    }
}