Struct rtnetlink::Handle [−][src]
pub struct Handle(_);
Implementations
pub fn request(
&mut self,
message: NetlinkMessage<RtnlMessage>
) -> Result<impl Stream<Item = NetlinkMessage<RtnlMessage>>, Error>
Create a new handle, specifically for link requests (equivalent to ip link
commands)
Create a new handle, specifically for address requests (equivalent to ip addr
commands)
Create a new handle, specifically for routing table requests (equivalent to ip route
commands)
Create a new handle, specifically for routing rule requests (equivalent to ip rule
commands)
Create a new handle, specifically for routing neighbours requests (equivalent to ip neighbour
commands)
Create a new handle, specifically for traffic control qdisc requests
(equivalent to tc qdisc show
commands)
Create a new handle, specifically for traffic control class requests
(equivalent to tc class show dev <interface_name>
commands)
Create a new handle, specifically for traffic control filter requests
(equivalent to tc filter show dev <interface_name>
commands)
Create a new handle, specifically for traffic control chain requests
(equivalent to tc chain show dev <interface_name>
commands)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Handle
impl !UnwindSafe for Handle
Blanket Implementations
Mutably borrows from an owned value. Read more