pub enum Lease<'a> {
Ifindex(u32),
Queue(IterableQueueId<'a>),
NetnsId(i32),
}Available on crate feature
netdev only.Variants§
Ifindex(u32)
The netdev ifindex to lease the queue from.
Queue(IterableQueueId<'a>)
The netdev queue to lease from.
NetnsId(i32)
The network namespace id of the netdev.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Lease<'a>
impl<'a> RefUnwindSafe for Lease<'a>
impl<'a> Send for Lease<'a>
impl<'a> Sync for Lease<'a>
impl<'a> Unpin for Lease<'a>
impl<'a> UnsafeUnpin for Lease<'a>
impl<'a> UnwindSafe for Lease<'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