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
.
Auto Trait Implementations§
impl !RefUnwindSafe for LinkNewPropRequest
impl Send for LinkNewPropRequest
impl Sync for LinkNewPropRequest
impl Unpin for LinkNewPropRequest
impl !UnwindSafe for LinkNewPropRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more