pub struct WriterConfig {
pub max_pending_frames: usize,
pub channel_capacity: usize,
pub backpressure_timeout: Duration,
}Expand description
Configuration for the writer task.
Fields§
§max_pending_frames: usizeMaximum pending frames before backpressure kicks in.
channel_capacity: usizeChannel capacity for frame queue.
backpressure_timeout: DurationTimeout when waiting for backpressure to clear.
Trait Implementations§
Source§impl Clone for WriterConfig
impl Clone for WriterConfig
Source§fn clone(&self) -> WriterConfig
fn clone(&self) -> WriterConfig
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 WriterConfig
impl Debug for WriterConfig
Auto Trait Implementations§
impl Freeze for WriterConfig
impl RefUnwindSafe for WriterConfig
impl Send for WriterConfig
impl Sync for WriterConfig
impl Unpin for WriterConfig
impl UnwindSafe for WriterConfig
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