pub enum ProducerCapReason {
None,
Slack,
Source,
SlackAndSource,
}Expand description
Evidence behind an empirical producer-concurrency ceiling.
Variants§
None
Slack
The producer persistently left granted execution slots idle.
Source
The producer persistently reported source-bound or inelastic pressure.
SlackAndSource
Both signals independently support a ceiling.
Trait Implementations§
Source§impl Clone for ProducerCapReason
impl Clone for ProducerCapReason
impl Copy for ProducerCapReason
Source§impl Debug for ProducerCapReason
impl Debug for ProducerCapReason
Source§impl Default for ProducerCapReason
impl Default for ProducerCapReason
impl Eq for ProducerCapReason
Source§impl PartialEq for ProducerCapReason
impl PartialEq for ProducerCapReason
Source§impl Serialize for ProducerCapReason
impl Serialize for ProducerCapReason
impl StructuralPartialEq for ProducerCapReason
Auto Trait Implementations§
impl Freeze for ProducerCapReason
impl RefUnwindSafe for ProducerCapReason
impl Send for ProducerCapReason
impl Sync for ProducerCapReason
impl Unpin for ProducerCapReason
impl UnsafeUnpin for ProducerCapReason
impl UnwindSafe for ProducerCapReason
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