pub struct ConcurrencyPolicyParameters {
pub max_parallel: Option<u32>,
}Expand description
The concurrency family’s parameters of an ExecutorPolicy.
v1 pins the shape only: no executor decision point consumes these values
yet. None means unlimited — the honest encoding of “no concurrency
policy is in force”.
Fields§
§max_parallel: Option<u32>Maximum number of parallel executions. None means unlimited.
Trait Implementations§
Source§impl Clone for ConcurrencyPolicyParameters
impl Clone for ConcurrencyPolicyParameters
impl Copy for ConcurrencyPolicyParameters
Source§impl Debug for ConcurrencyPolicyParameters
impl Debug for ConcurrencyPolicyParameters
Source§impl<'de> Deserialize<'de> for ConcurrencyPolicyParameters
impl<'de> Deserialize<'de> for ConcurrencyPolicyParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConcurrencyPolicyParameters
impl StructuralPartialEq for ConcurrencyPolicyParameters
Auto Trait Implementations§
impl Freeze for ConcurrencyPolicyParameters
impl RefUnwindSafe for ConcurrencyPolicyParameters
impl Send for ConcurrencyPolicyParameters
impl Sync for ConcurrencyPolicyParameters
impl Unpin for ConcurrencyPolicyParameters
impl UnsafeUnpin for ConcurrencyPolicyParameters
impl UnwindSafe for ConcurrencyPolicyParameters
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