pub struct TaskInfo {
pub task_id: String,
pub task_type: String,
pub status: TaskStatus,
pub start_time: Instant,
pub progress: f32,
}
Expand description
Information about an active task in the scheduler.
Contains runtime information about a task currently being processed or queued for execution.
Fields§
§task_id: String
Unique identifier for the task
task_type: String
Type of task being executed
status: TaskStatus
Current status of the task
start_time: Instant
When the task started execution
progress: f32
Current progress percentage (0.0 to 1.0)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskInfo
impl RefUnwindSafe for TaskInfo
impl Send for TaskInfo
impl Sync for TaskInfo
impl Unpin for TaskInfo
impl UnwindSafe for TaskInfo
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