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 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 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
Source§impl PartialEq for ChannelFlowOptions
impl PartialEq for ChannelFlowOptions
impl StructuralPartialEq for ChannelFlowOptions
Auto Trait Implementations§
impl Freeze for ChannelFlowOptions
impl RefUnwindSafe for ChannelFlowOptions
impl Send for ChannelFlowOptions
impl Sync for ChannelFlowOptions
impl Unpin for ChannelFlowOptions
impl UnwindSafe for ChannelFlowOptions
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