pub struct FlowControlConfig {
pub enable_backpressure: bool,
pub backpressure_timeout: Option<Duration>,
pub max_pending_queue_size: usize,
pub in_flight_timeout: Duration,
}Fields§
§enable_backpressure: bool§backpressure_timeout: Option<Duration>§max_pending_queue_size: usize§in_flight_timeout: DurationTrait Implementations§
Source§impl Clone for FlowControlConfig
impl Clone for FlowControlConfig
Source§fn clone(&self) -> FlowControlConfig
fn clone(&self) -> FlowControlConfig
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 FlowControlConfig
impl Debug for FlowControlConfig
Auto Trait Implementations§
impl Freeze for FlowControlConfig
impl RefUnwindSafe for FlowControlConfig
impl Send for FlowControlConfig
impl Sync for FlowControlConfig
impl Unpin for FlowControlConfig
impl UnwindSafe for FlowControlConfig
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