Struct rtnetlink::LinkHandle
source · pub struct LinkHandle(_);
Implementations§
source§impl LinkHandle
impl LinkHandle
pub fn new(handle: Handle) -> Self
pub fn set(&self, index: u32) -> LinkSetRequest
pub fn add(&self) -> LinkAddRequest
pub fn property_add(&self, index: u32) -> LinkNewPropRequest
pub fn property_del(&self, index: u32) -> LinkDelPropRequest
pub fn del(&mut self, index: u32) -> LinkDelRequest
sourcepub fn get(&mut self) -> LinkGetRequest
pub fn get(&mut self) -> LinkGetRequest
Retrieve the list of links (equivalent to ip link show
)