pub struct ExecutionEntry {
pub step: usize,
pub node_name: String,
pub start_time: Instant,
pub end_time: Instant,
pub success: bool,
pub error: Option<String>,
}Expand description
单个节点执行记录。
运行时使用 Instant 精确计时,序列化时转换为 ISO-8601 字符串。
Fields§
§step: usize全局步数(第几步)
node_name: String节点名称
start_time: Instant开始时间
end_time: Instant结束时间
success: bool是否成功
error: Option<String>错误信息(失败时)
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionEntry
impl Clone for ExecutionEntry
Source§fn clone(&self) -> ExecutionEntry
fn clone(&self) -> ExecutionEntry
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 ExecutionEntry
impl RefUnwindSafe for ExecutionEntry
impl Send for ExecutionEntry
impl Sync for ExecutionEntry
impl Unpin for ExecutionEntry
impl UnsafeUnpin for ExecutionEntry
impl UnwindSafe for ExecutionEntry
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