pub struct DeviceWorkQueueBackpressurePlan {
pub queue: DeviceWorkQueuePlan,
pub strategy: DeviceWorkQueueDrainStrategy,
pub items_per_chunk: u64,
pub chunks: u64,
pub final_only_host_sync: bool,
}Expand description
Device-side work queue plan with bounded resident drain windows.
Fields§
§queue: DeviceWorkQueuePlanBase resident queue byte plan.
strategy: DeviceWorkQueueDrainStrategySelected resident drain strategy.
items_per_chunk: u64Maximum queue entries drained by one device-side window.
chunks: u64Number of resident drain windows required to cover queue capacity.
final_only_host_sync: boolWhether the backpressure plan preserves final-state-only host sync.
Trait Implementations§
Source§impl Clone for DeviceWorkQueueBackpressurePlan
impl Clone for DeviceWorkQueueBackpressurePlan
Source§fn clone(&self) -> DeviceWorkQueueBackpressurePlan
fn clone(&self) -> DeviceWorkQueueBackpressurePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceWorkQueueBackpressurePlan
impl Eq for DeviceWorkQueueBackpressurePlan
Source§impl PartialEq for DeviceWorkQueueBackpressurePlan
impl PartialEq for DeviceWorkQueueBackpressurePlan
Source§fn eq(&self, other: &DeviceWorkQueueBackpressurePlan) -> bool
fn eq(&self, other: &DeviceWorkQueueBackpressurePlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceWorkQueueBackpressurePlan
Auto Trait Implementations§
impl Freeze for DeviceWorkQueueBackpressurePlan
impl RefUnwindSafe for DeviceWorkQueueBackpressurePlan
impl Send for DeviceWorkQueueBackpressurePlan
impl Sync for DeviceWorkQueueBackpressurePlan
impl Unpin for DeviceWorkQueueBackpressurePlan
impl UnsafeUnpin for DeviceWorkQueueBackpressurePlan
impl UnwindSafe for DeviceWorkQueueBackpressurePlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.