pub struct RxQueueConfig {
pub nb_desc: u16,
pub socket_id: i32,
pub rx_free_thresh: u16,
}Expand description
Configuration for a receive queue
Fields§
§nb_desc: u16Number of receive descriptors
socket_id: i32NUMA socket ID
rx_free_thresh: u16Enable rx_free_thresh (free RX mbufs lazily)
Trait Implementations§
Source§impl Clone for RxQueueConfig
impl Clone for RxQueueConfig
Source§fn clone(&self) -> RxQueueConfig
fn clone(&self) -> RxQueueConfig
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 moreSource§impl Debug for RxQueueConfig
impl Debug for RxQueueConfig
Auto Trait Implementations§
impl Freeze for RxQueueConfig
impl RefUnwindSafe for RxQueueConfig
impl Send for RxQueueConfig
impl Sync for RxQueueConfig
impl Unpin for RxQueueConfig
impl UnsafeUnpin for RxQueueConfig
impl UnwindSafe for RxQueueConfig
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