pub enum Dmabuf<'a> {
Ifindex(u32),
Queues(IterableQueueId<'a>),
Fd(u32),
Id(u32),
}Available on crate feature
netdev only.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.
Id(u32)
id of the dmabuf binding
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Dmabuf<'a>
impl<'a> RefUnwindSafe for Dmabuf<'a>
impl<'a> Send for Dmabuf<'a>
impl<'a> Sync for Dmabuf<'a>
impl<'a> Unpin for Dmabuf<'a>
impl<'a> UnwindSafe for Dmabuf<'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