pub struct TaskNode {
pub id: u64,
pub name: String,
pub estimated_ms: u64,
pub resource_requirements: Vec<String>,
}Expand description
A single task node in the dependency graph.
Fields§
§id: u64Unique task identifier.
name: StringHuman-readable task label.
estimated_ms: u64Estimated execution time in milliseconds.
resource_requirements: Vec<String>Symbolic resource requirements (e.g. "gpu", "network").
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskNode
impl RefUnwindSafe for TaskNode
impl Send for TaskNode
impl Sync for TaskNode
impl Unpin for TaskNode
impl UnsafeUnpin for TaskNode
impl UnwindSafe for TaskNode
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