pub struct DistributedLimits {
pub max_task_records: usize,
pub max_active_tasks: usize,
pub max_queued_tasks: usize,
pub max_terminal_tasks: usize,
pub max_workers: usize,
pub max_retries: u32,
pub max_lease_ttl_secs: u64,
pub max_task_ttl_secs: u64,
pub heartbeat_timeout_secs: u64,
}Expand description
Hard coordinator bounds and fixed recovery policy.
Fields§
§max_task_records: usize§max_active_tasks: usize§max_queued_tasks: usize§max_terminal_tasks: usize§max_workers: usize§max_retries: u32§max_lease_ttl_secs: u64§max_task_ttl_secs: u64§heartbeat_timeout_secs: u64Trait Implementations§
Source§impl Clone for DistributedLimits
impl Clone for DistributedLimits
Source§fn clone(&self) -> DistributedLimits
fn clone(&self) -> DistributedLimits
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 DistributedLimits
Source§impl Debug for DistributedLimits
impl Debug for DistributedLimits
Source§impl Default for DistributedLimits
impl Default for DistributedLimits
impl Eq for DistributedLimits
Source§impl PartialEq for DistributedLimits
impl PartialEq for DistributedLimits
impl StructuralPartialEq for DistributedLimits
Auto Trait Implementations§
impl Freeze for DistributedLimits
impl RefUnwindSafe for DistributedLimits
impl Send for DistributedLimits
impl Sync for DistributedLimits
impl Unpin for DistributedLimits
impl UnsafeUnpin for DistributedLimits
impl UnwindSafe for DistributedLimits
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more