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> Freeze for ExecutionMetadata<'a>
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
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