pub struct ExecutionConfig {
pub timeout_ms: u64,
pub retry: RetryStrategy,
pub transport: TransportConfig,
}Expand description
Execution configuration
Fields§
§timeout_ms: u64Timeout for individual execution (milliseconds)
retry: RetryStrategyRetry strategy
transport: TransportConfigTransport settings
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
Sourcepub fn retry(self, retry: RetryStrategy) -> Self
pub fn retry(self, retry: RetryStrategy) -> Self
Set retry strategy
Sourcepub fn transport(self, transport: TransportSettings) -> Self
pub fn transport(self, transport: TransportSettings) -> Self
Set transport settings
Trait Implementations§
Source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
Source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
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 ExecutionConfig
impl Debug for ExecutionConfig
Auto Trait Implementations§
impl Freeze for ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnsafeUnpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
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