Struct rtnetlink::LinkNewPropRequest
source · pub struct LinkNewPropRequest { /* private fields */ }
Implementations§
source§impl LinkNewPropRequest
impl LinkNewPropRequest
sourcepub fn message_mut(&mut self) -> &mut LinkMessage
pub fn message_mut(&mut self) -> &mut LinkMessage
Return a mutable reference to the request
sourcepub fn alt_ifname(self, alt_ifnames: &[&str]) -> Self
pub fn alt_ifname(self, alt_ifnames: &[&str]) -> Self
Add alternative name to the link. This is equivalent to ip link property add altname ALT_IFNAME dev LINK
.