pub struct StreamConfig {
pub max_retries: u32,
pub initial_retry_delay: u64,
pub max_retry_delay: u64,
pub connection_timeout: u64,
pub stream_timeout: u64,
}Expand description
Configuration for streaming resilience
Fields§
§max_retries: u32Maximum number of retry attempts
initial_retry_delay: u64Initial retry delay in milliseconds
max_retry_delay: u64Maximum retry delay in milliseconds (for exponential backoff)
connection_timeout: u64Connection timeout in seconds
stream_timeout: u64Stream idle timeout in seconds
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Source§fn clone(&self) -> StreamConfig
fn clone(&self) -> StreamConfig
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 StreamConfig
impl Debug for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
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