[][src]Struct afxdp::UmemFillQueue

pub struct UmemFillQueue<'a, T: Default + Copy> { /* fields omitted */ }

Fill queue per Umem

Methods

impl<'a, T: Default + Copy> UmemFillQueue<'a, T>[src]

pub fn fill(
    &mut self,
    bufs: &mut Vec<Buf<T>>,
    batch_size: usize
) -> Result<usize, UmemError>
[src]

In order to receive packets, the link needs buffers to write the packets to. These buffers are sent from userspace to the kernel via the fill queue.

pub fn needs_wakeup(&mut self) -> bool[src]

Trait Implementations

impl<'a, T: Debug + Default + Copy> Debug for UmemFillQueue<'a, T>[src]

impl<'a, T: Default + Copy> Drop for UmemFillQueue<'a, T>[src]

impl<'a, T: Default + Copy> Send for UmemFillQueue<'a, T>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for UmemFillQueue<'a, T> where
    T: RefUnwindSafe

impl<'a, T> !Sync for UmemFillQueue<'a, T>

impl<'a, T> Unpin for UmemFillQueue<'a, T>

impl<'a, T> UnwindSafe for UmemFillQueue<'a, T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.