pub struct TaskConfig {
pub retry_policy: Option<RetryPolicy>,
pub cache_policy: Option<CachePolicy>,
pub timeout: Option<Duration>,
pub name: Option<String>,
}Expand description
Task-level configuration for node execution
Overrides or supplements the graph-level RunnableConfig for
individual tasks, providing per-node retry, caching, and timeout
settings.
Fields§
§retry_policy: Option<RetryPolicy>Retry policy for this task
cache_policy: Option<CachePolicy>Cache policy for this task
timeout: Option<Duration>Timeout duration for this task
name: Option<String>Optional task name override
Trait Implementations§
Source§impl Clone for TaskConfig
impl Clone for TaskConfig
Source§fn clone(&self) -> TaskConfig
fn clone(&self) -> TaskConfig
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 TaskConfig
impl Debug for TaskConfig
Source§impl Default for TaskConfig
impl Default for TaskConfig
Source§fn default() -> TaskConfig
fn default() -> TaskConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TaskConfig
impl !UnwindSafe for TaskConfig
impl Freeze for TaskConfig
impl Send for TaskConfig
impl Sync for TaskConfig
impl Unpin for TaskConfig
impl UnsafeUnpin for TaskConfig
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