pub struct NodeResult {
pub node_id: String,
pub node_name: String,
pub start_time: Instant,
pub end_time: Option<Instant>,
pub duration: Duration,
pub success: bool,
pub error_message: Option<String>,
pub retry_count: u32,
}Expand description
节点结果
Fields§
§node_id: String节点ID
node_name: String节点名称
start_time: Instant开始时间
end_time: Option<Instant>结束时间
duration: Duration执行时间
success: bool是否成功
error_message: Option<String>错误信息
retry_count: u32重试次数
Trait Implementations§
Source§impl Clone for NodeResult
impl Clone for NodeResult
Source§fn clone(&self) -> NodeResult
fn clone(&self) -> NodeResult
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeResult
impl RefUnwindSafe for NodeResult
impl Send for NodeResult
impl Sync for NodeResult
impl Unpin for NodeResult
impl UnwindSafe for NodeResult
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