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 Freeze for LinkNewPropRequest
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