pub struct Config { /* private fields */ }
Expand description
Config for the resumable Client
Implementations§
Source§impl Config
impl Config
Sourcepub fn builder() -> ConfigBuilder
pub fn builder() -> ConfigBuilder
Create a ConfigBuilder
Sourcepub fn stream_timeout(&self) -> &Option<Duration>
pub fn stream_timeout(&self) -> &Option<Duration>
Get the stream timeout
Sourcepub fn retry_policy(&self) -> &(dyn RetryPolicy + Send + Sync)
pub fn retry_policy(&self) -> &(dyn RetryPolicy + Send + Sync)
Get the retry policy
Sourcepub fn retryable_strategy(&self) -> &(dyn RetryableStrategy + Send + Sync)
pub fn retryable_strategy(&self) -> &(dyn RetryableStrategy + Send + Sync)
Get the retryable strategy
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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