1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
/// An io_uring operation.
///
/// # Safety
///
/// Care is needed to ensure that the implementation of `fill_sqe` is sound.
///
/// For example, it is unsound for an operation to take a reference to a buffer and pass it to
/// io_uring because the operation could be forgotten and the underlying buffer dropped. This
/// particular example is solved with the [`IoBuf`].
///
/// It is also unsound to write an invalid `user_data` to the entry.
pub unsafe