pub struct StepResult {
pub subtask_id: String,
pub status: ExecutionStatus,
pub output: Option<String>,
pub error: Option<String>,
pub duration: Duration,
pub retry_count: u32,
pub recovery_layer: Option<RecoveryLayer>,
}Expand description
步骤执行结果
Fields§
§subtask_id: String子任务ID
status: ExecutionStatus执行状态
output: Option<String>输出内容
error: Option<String>错误信息
duration: Duration执行时长
retry_count: u32重试次数
recovery_layer: Option<RecoveryLayer>使用的恢复层
Trait Implementations§
Source§impl Clone for StepResult
impl Clone for StepResult
Source§fn clone(&self) -> StepResult
fn clone(&self) -> StepResult
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 moreAuto Trait Implementations§
impl Freeze for StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnsafeUnpin for StepResult
impl UnwindSafe for StepResult
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