Struct renoir::ExecutionMetadata
source · pub struct ExecutionMetadata<'a> {
pub coord: Coord,
pub replicas: Vec<Coord>,
pub global_id: CoordUInt,
pub prev: Vec<(Coord, TypeId)>,
pub batch_mode: BatchMode,
/* private fields */
}
Expand description
Metadata used to initialize a block at the start of an execution
Fields§
§coord: Coord
The coordinate of the block
replicas: Vec<Coord>
The list of replicas of this block.
global_id: CoordUInt
The global identifier of the replica (from 0 to replicas.len()-1
)
prev: Vec<(Coord, TypeId)>
The total number of previous blocks inside the execution graph.
batch_mode: BatchMode
The batching mode to use inside this block.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExecutionMetadata<'a>
impl<'a> Send for ExecutionMetadata<'a>
impl<'a> Sync for ExecutionMetadata<'a>
impl<'a> Unpin for ExecutionMetadata<'a>
impl<'a> !UnwindSafe for ExecutionMetadata<'a>
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