pub struct PushDev<Prev: Rec> { /* private fields */ }Available on crate feature
psp only.Implementations§
Source§impl<Prev: Rec> PushDev<Prev>
impl<Prev: Rec> PushDev<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_ifindex(self, value: u32) -> Self
pub fn push_ifindex(self, value: u32) -> Self
ifindex of the main netdevice linked to the PSP device.
Sourcepub fn push_psp_versions_cap(self, value: u32) -> Self
pub fn push_psp_versions_cap(self, value: u32) -> Self
Bitmask of PSP versions supported by the device.
Associated type: Version (1 bit per enumeration)
Sourcepub fn push_psp_versions_ena(self, value: u32) -> Self
pub fn push_psp_versions_ena(self, value: u32) -> Self
Bitmask of currently enabled (accepted on Rx) PSP versions.
Associated type: Version (1 bit per enumeration)
Trait Implementations§
Auto Trait Implementations§
impl<Prev> Freeze for PushDev<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushDev<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushDev<Prev>where
Prev: Send,
impl<Prev> Sync for PushDev<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushDev<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushDev<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushDev<Prev>where
Prev: UnwindSafe,
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