pub struct QueueConfig {
pub driver: Box<dyn Driver>,
pub enabled_rx_offloads: RxOffloadSupport,
}Expand description
Per-queue configuration passed to Endpoint::get_queues.
The enabled receive-offload policy is device-wide and must be identical for
every queue in the same queue set. Receive buffers are posted separately via
Queue::rx_avail after queue creation.
Fields§
§driver: Box<dyn Driver>§enabled_rx_offloads: RxOffloadSupportReceive offloads enabled by the frontend after capability negotiation.
Auto Trait Implementations§
impl Freeze for QueueConfig
impl !RefUnwindSafe for QueueConfig
impl Send for QueueConfig
impl Sync for QueueConfig
impl Unpin for QueueConfig
impl UnsafeUnpin for QueueConfig
impl !UnwindSafe for QueueConfig
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