pub struct QueueRuntimeConfigSnapshot {
pub mode: QueueRuntimeMode,
pub max_workers: Option<u32>,
pub min_workers: Option<u32>,
pub weight: Option<u32>,
pub global_max_workers: Option<u32>,
pub poll_interval_ms: u64,
pub deadline_duration_secs: u64,
pub priority_aging_interval_secs: u64,
pub rate_limit: Option<RateLimitSnapshot>,
}Expand description
Per-queue configuration published by a worker runtime instance.
Fields§
§mode: QueueRuntimeMode§max_workers: Option<u32>§min_workers: Option<u32>§weight: Option<u32>§global_max_workers: Option<u32>§poll_interval_ms: u64§deadline_duration_secs: u64§priority_aging_interval_secs: u64§rate_limit: Option<RateLimitSnapshot>Trait Implementations§
Source§impl Clone for QueueRuntimeConfigSnapshot
impl Clone for QueueRuntimeConfigSnapshot
Source§fn clone(&self) -> QueueRuntimeConfigSnapshot
fn clone(&self) -> QueueRuntimeConfigSnapshot
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 QueueRuntimeConfigSnapshot
impl Debug for QueueRuntimeConfigSnapshot
Source§impl<'de> Deserialize<'de> for QueueRuntimeConfigSnapshot
impl<'de> Deserialize<'de> for QueueRuntimeConfigSnapshot
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 StructuralPartialEq for QueueRuntimeConfigSnapshot
Auto Trait Implementations§
impl Freeze for QueueRuntimeConfigSnapshot
impl RefUnwindSafe for QueueRuntimeConfigSnapshot
impl Send for QueueRuntimeConfigSnapshot
impl Sync for QueueRuntimeConfigSnapshot
impl Unpin for QueueRuntimeConfigSnapshot
impl UnsafeUnpin for QueueRuntimeConfigSnapshot
impl UnwindSafe for QueueRuntimeConfigSnapshot
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more