We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc1a9c4 commit b456810Copy full SHA for b456810
netwatch/src/interfaces/linux.rs
@@ -32,13 +32,13 @@ pub enum Error {
32
MissingMaskField {},
33
#[cfg(not(target_os = "android"))]
34
#[snafu(display("netlink"))]
35
- Netlink { source: NetlinkError },
36
- #[cfg(not(target_os = "android"))]
37
- #[snafu(display("unexpected netlink message"))]
38
- UnexpectedNetlinkMessage {
+ Netlink {
39
source: netlink_proto::Error<netlink_packet_route::RouteNetlinkMessage>,
40
},
41
+ #[snafu(display("unexpected netlink message"))]
+ UnexpectedNetlinkMessage {},
+ #[cfg(not(target_os = "android"))]
42
#[snafu(display("netlink error message: {source:?}"))]
43
NetlinkErrorMessage {
44
source: netlink_packet_core::error::ErrorMessage,
0 commit comments