@@ -78,13 +78,7 @@ impl GenetlinkHandle {
78
78
GenetlinkError ,
79
79
>
80
80
where
81
- F : GenlFamily
82
- + Emitable
83
- + ParseableParametrized < [ u8 ] , GenlHeader >
84
- + Clone
85
- + Debug
86
- + PartialEq
87
- + Eq ,
81
+ F : GenlFamily + Emitable + ParseableParametrized < [ u8 ] , GenlHeader > + Debug ,
88
82
{
89
83
self . resolve_message_family_id ( & mut message) . await ?;
90
84
self . send_request ( message)
@@ -102,13 +96,7 @@ impl GenetlinkHandle {
102
96
GenetlinkError ,
103
97
>
104
98
where
105
- F : GenlFamily
106
- + Emitable
107
- + ParseableParametrized < [ u8 ] , GenlHeader >
108
- + Clone
109
- + Debug
110
- + PartialEq
111
- + Eq ,
99
+ F : GenlFamily + Emitable + ParseableParametrized < [ u8 ] , GenlHeader > + Debug ,
112
100
{
113
101
let raw_msg = map_to_rawgenlmsg ( message) ;
114
102
@@ -122,13 +110,7 @@ impl GenetlinkHandle {
122
110
mut message : NetlinkMessage < GenlMessage < F > > ,
123
111
) -> Result < ( ) , GenetlinkError >
124
112
where
125
- F : GenlFamily
126
- + Emitable
127
- + ParseableParametrized < [ u8 ] , GenlHeader >
128
- + Clone
129
- + Debug
130
- + PartialEq
131
- + Eq ,
113
+ F : GenlFamily + Emitable + ParseableParametrized < [ u8 ] , GenlHeader > + Debug ,
132
114
{
133
115
self . resolve_message_family_id ( & mut message) . await ?;
134
116
self . send_notify ( message)
@@ -140,13 +122,7 @@ impl GenetlinkHandle {
140
122
message : NetlinkMessage < GenlMessage < F > > ,
141
123
) -> Result < ( ) , GenetlinkError >
142
124
where
143
- F : GenlFamily
144
- + Emitable
145
- + ParseableParametrized < [ u8 ] , GenlHeader >
146
- + Clone
147
- + Debug
148
- + PartialEq
149
- + Eq ,
125
+ F : GenlFamily + Emitable + ParseableParametrized < [ u8 ] , GenlHeader > + Debug ,
150
126
{
151
127
let raw_msg = map_to_rawgenlmsg ( message) ;
152
128
@@ -159,7 +135,7 @@ impl GenetlinkHandle {
159
135
message : & mut NetlinkMessage < GenlMessage < F > > ,
160
136
) -> Result < ( ) , GenetlinkError >
161
137
where
162
- F : GenlFamily + Clone + Debug + PartialEq + Eq ,
138
+ F : GenlFamily + Debug ,
163
139
{
164
140
if let NetlinkPayload :: InnerMessage ( genlmsg) = & mut message. payload {
165
141
if genlmsg. family_id ( ) == 0 {
0 commit comments