pub struct NodeExecutionConfig {
pub timeout_ms: u64,
pub max_retries: u32,
pub retry_interval_ms: u64,
pub enable_callbacks: bool,
pub callback_timeout_ms: u64,
pub transport: TransportConfig,
}Expand description
Node execution configuration
Fields§
§timeout_ms: u64Timeout for node execution (milliseconds)
max_retries: u32Maximum retry attempts
retry_interval_ms: u64Retry interval base (milliseconds)
enable_callbacks: boolEnable callback handling
callback_timeout_ms: u64Callback timeout (milliseconds)
transport: TransportConfigTransport settings
Implementations§
Source§impl NodeExecutionConfig
impl NodeExecutionConfig
Sourcepub fn max_retries(self, retries: u32) -> Self
pub fn max_retries(self, retries: u32) -> Self
Set maximum retries
Sourcepub fn no_callbacks(self) -> Self
pub fn no_callbacks(self) -> Self
Disable callbacks
Sourcepub fn callback_timeout(self, timeout_ms: u64) -> Self
pub fn callback_timeout(self, timeout_ms: u64) -> Self
Set callback timeout
Trait Implementations§
Source§impl Clone for NodeExecutionConfig
impl Clone for NodeExecutionConfig
Source§fn clone(&self) -> NodeExecutionConfig
fn clone(&self) -> NodeExecutionConfig
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 NodeExecutionConfig
impl Debug for NodeExecutionConfig
Auto Trait Implementations§
impl Freeze for NodeExecutionConfig
impl RefUnwindSafe for NodeExecutionConfig
impl Send for NodeExecutionConfig
impl Sync for NodeExecutionConfig
impl Unpin for NodeExecutionConfig
impl UnsafeUnpin for NodeExecutionConfig
impl UnwindSafe for NodeExecutionConfig
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