Struct libbpf_sys::xsk_ring_prod
source · [−]#[repr(C)]pub struct xsk_ring_prod {
pub cached_prod: __u32,
pub cached_cons: __u32,
pub mask: __u32,
pub size: __u32,
pub producer: *mut __u32,
pub consumer: *mut __u32,
pub ring: *mut c_void,
pub flags: *mut __u32,
}
Fields
cached_prod: __u32
cached_cons: __u32
mask: __u32
size: __u32
producer: *mut __u32
consumer: *mut __u32
ring: *mut c_void
flags: *mut __u32
Trait Implementations
sourceimpl Clone for xsk_ring_prod
impl Clone for xsk_ring_prod
sourcefn clone(&self) -> xsk_ring_prod
fn clone(&self) -> xsk_ring_prod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for xsk_ring_prod
impl Debug for xsk_ring_prod
sourceimpl Default for xsk_ring_prod
impl Default for xsk_ring_prod
impl Copy for xsk_ring_prod
Auto Trait Implementations
impl RefUnwindSafe for xsk_ring_prod
impl !Send for xsk_ring_prod
impl !Sync for xsk_ring_prod
impl Unpin for xsk_ring_prod
impl UnwindSafe for xsk_ring_prod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more