pub enum AssocDevInfo {
Ifindex(u32),
Nsid(i32),
}Available on crate feature
psp only.Variants§
Ifindex(u32)
ifindex of an associated network device.
Nsid(i32)
Network namespace ID of the associated device.
Implementations§
Source§impl AssocDevInfo
impl AssocDevInfo
pub fn new<'a>(buf: &'a [u8]) -> IterableAssocDevInfo<'a> ⓘ
Trait Implementations§
Source§impl Clone for AssocDevInfo
impl Clone for AssocDevInfo
Source§fn clone(&self) -> AssocDevInfo
fn clone(&self) -> AssocDevInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for AssocDevInfo
impl RefUnwindSafe for AssocDevInfo
impl Send for AssocDevInfo
impl Sync for AssocDevInfo
impl Unpin for AssocDevInfo
impl UnsafeUnpin for AssocDevInfo
impl UnwindSafe for AssocDevInfo
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