pub enum OnTimeout {
Fail,
Retry {
max_attempts: usize,
},
Skip,
}Available on crate feature
graph only.Expand description
Recovery action when a node times out.
Variants§
Fail
Fail the graph with GraphError::NodeTimedOut.
Retry
Retry the node up to max_attempts times before failing.
Skip
Skip the node and proceed with an empty output.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OnTimeout
impl RefUnwindSafe for OnTimeout
impl Send for OnTimeout
impl Sync for OnTimeout
impl Unpin for OnTimeout
impl UnsafeUnpin for OnTimeout
impl UnwindSafe for OnTimeout
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