fluke_io_uring_async/linux/
squeue.rs

1pub trait Entry: io_uring::squeue::EntryMarker + 'static + From<io_uring::squeue::Entry> {
2    fn user_data(self, user_data: u64) -> Self;
3}
4
5impl Entry for io_uring::squeue::Entry {
6    #[inline(always)]
7    fn user_data(self, user_data: u64) -> Self {
8        self.user_data(user_data)
9    }
10}
11
12impl Entry for io_uring::squeue::Entry128 {
13    #[inline(always)]
14    fn user_data(self, user_data: u64) -> Self {
15        self.user_data(user_data)
16    }
17}