[][src]Struct xsk_rs::umem::UmemBuilderWithMmap

pub struct UmemBuilderWithMmap { /* fields omitted */ }

Use the mmap'd region to create the UMEM.

Implementations

impl<'a> UmemBuilderWithMmap[src]

pub fn create_umem(
    mut self: Self
) -> Result<(Umem<'a>, FillQueue<'a>, CompQueue<'a>, Vec<FrameDesc<'a>>)>
[src]

Using the allocated memory region, create the UMEM.

Once we've successfully requested a region of memory, create the UMEM with it by splitting the memory region into frames and creating the FillQueue and CompQueue.

Auto Trait Implementations

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.