-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
I'm trying to write a test case for some code that uses rtnetlink. I need to construct a NeighborMessage from netlink-packet-route. Since that is marked as #[non_exhaustive] I cannot construct one directly. I am constructing a default message and mutate it like so:
let mut msg = NeighborMessage::default();
msg.headers = ...;
msg.attributes = ...;
However when I look through the documentation I see a LinkMessageBuilder for LinkMessage and a RouteMessageBuilder for RouteMessage. It makes me expect to see a NeighborMessageBuilder. Should there be?
Metadata
Metadata
Assignees
Labels
No labels