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
15
16
17
use dope_sys::table::token;

#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(transparent)]
pub struct Tuning<S>(S);

impl<S: Copy + Eq> token::Tuning for Tuning<S> {
    type Slot = S;

    fn new(slot: S) -> Self {
        Self(slot)
    }

    fn slot(self) -> S {
        self.0
    }
}