File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -632,6 +632,9 @@ bitflags::bitflags! {
632
632
/// `IORING_MSG_RING_CQE_SKIP`
633
633
const CQE_SKIP = sys:: IORING_MSG_RING_CQE_SKIP ;
634
634
635
+ /// `IORING_MSG_RING_FLAGS_PASS`
636
+ const FLAGS_PASS = sys:: IORING_MSG_RING_FLAGS_PASS ;
637
+
635
638
/// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags>
636
639
const _ = !0 ;
637
640
}
@@ -1159,6 +1162,22 @@ pub struct io_uring_sync_cancel_reg {
1159
1162
pub pad : [ u64 ; 4 ] ,
1160
1163
}
1161
1164
1165
+ impl Default for io_uring_sync_cancel_reg {
1166
+ #[ inline]
1167
+ fn default ( ) -> Self {
1168
+ Self {
1169
+ addr : Default :: default ( ) ,
1170
+ fd : Default :: default ( ) ,
1171
+ flags : Default :: default ( ) ,
1172
+ timeout : Timespec {
1173
+ tv_sec : 0 ,
1174
+ tv_nsec : 0 ,
1175
+ } ,
1176
+ pad : Default :: default ( ) ,
1177
+ }
1178
+ }
1179
+ }
1180
+
1162
1181
/// An io_uring Completion Queue Entry.
1163
1182
///
1164
1183
/// This does not derive `Copy` or `Clone` because the `big_cqe` field is not
You can’t perform that action at this time.
0 commit comments