pub struct ChannelFlowOptions {
pub active: bool,
}Fields§
§active: boolAsks the peer to pause or restart the flow of content data sent by a consumer. This is a simple flow-control mechanism that a peer can use to avoid overflowing its queues or otherwise finding itself receiving more messages than it can process.
Trait Implementations§
source§impl Clone for ChannelFlowOptions
impl Clone for ChannelFlowOptions
source§fn clone(&self) -> ChannelFlowOptions
fn clone(&self) -> ChannelFlowOptions
Returns a copy 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 ChannelFlowOptions
impl Debug for ChannelFlowOptions
source§impl Default for ChannelFlowOptions
impl Default for ChannelFlowOptions
source§fn default() -> ChannelFlowOptions
fn default() -> ChannelFlowOptions
Returns the “default value” for a type. Read more