pub enum OpGetlinkDoRequest<'a> {
Ifname(&'a CStr),
ExtMask(u32),
TargetNetnsid(i32),
AltIfname(&'a CStr),
}Available on crate feature
rt-link only.Expand description
Get / dump information about a link.
Variants§
Ifname(&'a CStr)
ExtMask(u32)
Associated type: “RtextFilter” (1 bit per enumeration)
TargetNetnsid(i32)
AltIfname(&'a CStr)
Implementations§
Source§impl<'a> OpGetlinkDoRequest<'a>
impl<'a> OpGetlinkDoRequest<'a>
pub fn new(buf: &'a [u8]) -> (PushIfinfomsg, IterableOpGetlinkDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpGetlinkDoRequest<'a>
impl<'a> Clone for OpGetlinkDoRequest<'a>
Source§fn clone(&self) -> OpGetlinkDoRequest<'a>
fn clone(&self) -> OpGetlinkDoRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for OpGetlinkDoRequest<'a>
impl<'a> RefUnwindSafe for OpGetlinkDoRequest<'a>
impl<'a> Send for OpGetlinkDoRequest<'a>
impl<'a> Sync for OpGetlinkDoRequest<'a>
impl<'a> Unpin for OpGetlinkDoRequest<'a>
impl<'a> UnwindSafe for OpGetlinkDoRequest<'a>
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