pub struct PushLease<Prev: Pusher> { /* private fields */ }Available on crate feature
netdev only.Implementations§
Source§impl<Prev: Pusher> PushLease<Prev>
impl<Prev: Pusher> PushLease<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
The netdev ifindex to lease the queue from.
Sourcepub fn nested_queue(self) -> PushQueueId<Self>
pub fn nested_queue(self) -> PushQueueId<Self>
The netdev queue to lease from.
Sourcepub fn push_netns_id(self, value: i32) -> Self
pub fn push_netns_id(self, value: i32) -> Self
The network namespace id of the netdev.
Trait Implementations§
Auto Trait Implementations§
impl<Prev> Freeze for PushLease<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushLease<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushLease<Prev>where
Prev: Send,
impl<Prev> Sync for PushLease<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushLease<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushLease<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushLease<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