@@ -88,7 +88,7 @@ bitflags! {
88
88
/// The default behavior when the timeout expires is to return a CQE with -libc::ETIME in
89
89
/// the res field. To change this behavior to have zero returned, include
90
90
/// [`types::TimeoutFlags::ETIME_SUCCESS`].
91
- #[ derive( Debug , Clone , Copy ) ]
91
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq , PartialOrd , Ord ) ]
92
92
pub struct TimeoutFlags : u32 {
93
93
const ABS = sys:: IORING_TIMEOUT_ABS ;
94
94
@@ -104,7 +104,7 @@ bitflags! {
104
104
105
105
bitflags ! {
106
106
/// Options for [`Fsync`](super::Fsync).
107
- #[ derive( Debug , Clone , Copy ) ]
107
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq , PartialOrd , Ord ) ]
108
108
pub struct FsyncFlags : u32 {
109
109
const DATASYNC = sys:: IORING_FSYNC_DATASYNC ;
110
110
}
@@ -113,7 +113,7 @@ bitflags! {
113
113
bitflags ! {
114
114
/// Options for [`AsyncCancel`](super::AsyncCancel) and
115
115
/// [`Submitter::register_sync_cancel`](super::Submitter::register_sync_cancel).
116
- #[ derive( Debug , Clone , Copy ) ]
116
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq , PartialOrd , Ord ) ]
117
117
pub ( crate ) struct AsyncCancelFlags : u32 {
118
118
/// Cancel all requests that match the given criteria, rather
119
119
/// than just canceling the first one found.
0 commit comments