pub enum OpBindRxDoRequest<'a> {
Ifindex(u32),
Queues(IterableQueueId<'a>),
Fd(u32),
}Available on crate feature
netdev only.Expand description
Bind dmabuf to netdev
Variants§
Ifindex(u32)
netdev ifindex to bind the dmabuf to.
Queues(IterableQueueId<'a>)
receive queues to bind the dmabuf to. Attribute may repeat multiple times (treat it as array)
Fd(u32)
dmabuf file descriptor to bind.
Implementations§
Source§impl OpBindRxDoRequest<'_>
impl OpBindRxDoRequest<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableOpBindRxDoRequest<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for OpBindRxDoRequest<'a>
impl<'a> Clone for OpBindRxDoRequest<'a>
Source§fn clone(&self) -> OpBindRxDoRequest<'a>
fn clone(&self) -> OpBindRxDoRequest<'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 OpBindRxDoRequest<'a>
impl<'a> RefUnwindSafe for OpBindRxDoRequest<'a>
impl<'a> Send for OpBindRxDoRequest<'a>
impl<'a> Sync for OpBindRxDoRequest<'a>
impl<'a> Unpin for OpBindRxDoRequest<'a>
impl<'a> UnwindSafe for OpBindRxDoRequest<'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