pub struct FlowControlConfig {
pub idle_heartbeat: Duration,
pub max_waiting: i64,
pub enabled: bool,
}Fields§
§idle_heartbeat: DurationIdle heartbeat interval
max_waiting: i64Maximum waiting time for messages
enabled: boolEnable flow control
Trait 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 moreAuto Trait Implementations§
impl Freeze for FlowControlConfig
impl RefUnwindSafe for FlowControlConfig
impl Send for FlowControlConfig
impl Sync for FlowControlConfig
impl Unpin for FlowControlConfig
impl UnsafeUnpin 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