@@ -1183,15 +1183,18 @@ s_no_extra_traits! {
1183
1183
pub sched_period: :: __u64,
1184
1184
}
1185
1185
1186
+ #[ allow( missing_debug_implementations) ]
1186
1187
pub union tpacket_req_u {
1187
1188
pub req: :: tpacket_req,
1188
1189
pub req3: :: tpacket_req3,
1189
1190
}
1190
1191
1192
+ #[ allow( missing_debug_implementations) ]
1191
1193
pub union tpacket_bd_header_u {
1192
1194
pub bh1: :: tpacket_hdr_v1,
1193
1195
}
1194
1196
1197
+ #[ allow( missing_debug_implementations) ]
1195
1198
pub struct tpacket_block_desc {
1196
1199
pub version: :: __u32,
1197
1200
pub offset_to_priv: :: __u32,
@@ -1617,32 +1620,6 @@ cfg_if! {
1617
1620
}
1618
1621
}
1619
1622
1620
- impl :: fmt:: Debug for tpacket_req_u {
1621
- fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
1622
- f. debug_struct( "tpacket_req_u" )
1623
- . field( "req3" , unsafe { & self . req3 } )
1624
- . finish( )
1625
- }
1626
- }
1627
-
1628
- impl :: fmt:: Debug for tpacket_bd_header_u {
1629
- fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
1630
- f. debug_struct( "tpacket_bd_header_u" )
1631
- . field( "bh1" , unsafe { & self . bh1 } )
1632
- . finish( )
1633
- }
1634
- }
1635
-
1636
- impl :: fmt:: Debug for tpacket_block_desc {
1637
- fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
1638
- f. debug_struct( "tpacket_bd_header_u" )
1639
- . field( "version" , & self . version)
1640
- . field( "offset_to_priv" , & self . offset_to_priv)
1641
- . field( "hdr" , & self . hdr)
1642
- . finish( )
1643
- }
1644
- }
1645
-
1646
1623
impl :: fmt:: Debug for __c_anonymous_ifc_ifcu {
1647
1624
fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
1648
1625
f. debug_struct( "ifr_ifru" )
0 commit comments