pub struct ExecutionQueueItem {
pub cell_id: CellId,
pub priority: u32,
pub dependencies: Vec<CellId>,
pub queued_at: SystemTime,
pub is_incremental: bool,
pub estimated_duration: Option<Duration>,
}Expand description
执行队列项
Fields§
§cell_id: CellId单元格 ID
priority: u32优先级(数字越小优先级越高)
dependencies: Vec<CellId>依赖的单元格 ID 列表
queued_at: SystemTime添加到队列的时间
is_incremental: bool是否为增量执行(只有修改过的单元格才需要执行)
estimated_duration: Option<Duration>预估执行时间
Trait Implementations§
Source§impl Clone for ExecutionQueueItem
impl Clone for ExecutionQueueItem
Source§fn clone(&self) -> ExecutionQueueItem
fn clone(&self) -> ExecutionQueueItem
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 ExecutionQueueItem
impl RefUnwindSafe for ExecutionQueueItem
impl Send for ExecutionQueueItem
impl Sync for ExecutionQueueItem
impl Unpin for ExecutionQueueItem
impl UnwindSafe for ExecutionQueueItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more