pub struct LinkAddRequest { /* private fields */ }Expand description
A request to create a new link. This is equivalent to the ip link add
commands.
A few methods for common actions (creating a veth pair, creating a vlan
interface, etc.) are provided, but custom requests can be made using the
message_mut() accessor.
Implementations§
Auto Trait Implementations§
impl Freeze for LinkAddRequest
impl !RefUnwindSafe for LinkAddRequest
impl Send for LinkAddRequest
impl Sync for LinkAddRequest
impl Unpin for LinkAddRequest
impl !UnwindSafe for LinkAddRequest
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