Distinguish netlink ACKs from errors and fix all clippy warnings #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/clippy-warnings-and-ack-logging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add NlMsg::Ack variant to distinguish ACK responses (error=0) from real
netlink errors at parse time. ACKs are now logged at TRACE level instead
of appearing as misleading "Error(nlmsgerr { error: 0 })" at DEBUG.
Fix all clippy warnings across the workspace: remove redundant imports,
replace transmutes with pointer casts, use is_empty() instead of len
comparisons, elide unnecessary lifetimes, derive Default where possible,
add type alias for complex callback type, and suppress unnecessary_cast
in generated nfnetlink_enum code.
Add NlMsg::Ack variant to distinguish ACK responses (error=0) from real netlink errors at parse time. ACKs are now logged at TRACE level instead of appearing as misleading "Error(nlmsgerr { error: 0 })" at DEBUG. Fix all clippy warnings across the workspace: remove redundant imports, replace transmutes with pointer casts, use is_empty() instead of len comparisons, elide unnecessary lifetimes, derive Default where possible, add type alias for complex callback type, and suppress unnecessary_cast in generated nfnetlink_enum code.