pub struct FlowControl {
pub supports_backpressure: bool,
pub window_size: u32,
pub supports_throttling: bool,
pub max_rate: u32,
}Expand description
Flow control configuration.
Fields§
§supports_backpressure: bool§window_size: u32§supports_throttling: bool§max_rate: u32Implementations§
Source§impl FlowControl
impl FlowControl
pub fn default_stream() -> Self
Trait Implementations§
Source§impl Clone for FlowControl
impl Clone for FlowControl
Source§fn clone(&self) -> FlowControl
fn clone(&self) -> FlowControl
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 moreSource§impl Debug for FlowControl
impl Debug for FlowControl
Source§impl Default for FlowControl
impl Default for FlowControl
Source§impl<'de> Deserialize<'de> for FlowControl
impl<'de> Deserialize<'de> for FlowControl
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
Source§impl Serialize for FlowControl
impl Serialize for FlowControl
impl Copy for FlowControl
Auto Trait Implementations§
impl Freeze for FlowControl
impl RefUnwindSafe for FlowControl
impl Send for FlowControl
impl Sync for FlowControl
impl Unpin for FlowControl
impl UnsafeUnpin for FlowControl
impl UnwindSafe for FlowControl
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