pub struct ExecutionBatch {
pub level: usize,
pub nodes: Vec<NodeId>,
pub estimated_time_ms: u64,
pub parallelizable: bool,
}Expand description
A batch of nodes that can be executed in parallel
Fields§
§level: usizeBatch level (0-indexed)
nodes: Vec<NodeId>Nodes in this batch
estimated_time_ms: u64Estimated execution time for this batch (ms)
parallelizable: boolWhether this batch can benefit from parallel execution
Trait Implementations§
Source§impl Clone for ExecutionBatch
impl Clone for ExecutionBatch
Source§fn clone(&self) -> ExecutionBatch
fn clone(&self) -> ExecutionBatch
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 moreSource§impl Debug for ExecutionBatch
impl Debug for ExecutionBatch
Source§impl<'de> Deserialize<'de> for ExecutionBatch
impl<'de> Deserialize<'de> for ExecutionBatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionBatch
impl RefUnwindSafe for ExecutionBatch
impl Send for ExecutionBatch
impl Sync for ExecutionBatch
impl Unpin for ExecutionBatch
impl UnwindSafe for ExecutionBatch
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