Index

Type Alias Index 

Source
pub type Index = u64;
Expand description

Index represents the sequential position of items being aggregated. Indices are monotonically increasing within each epoch.

Trait Implementations§

Source§

impl Epochable for Index

Source§

type Epoch = ()

Epoch is the type used to indicate a contiguous sequence of views in which the set of validators is constant.
Source§

fn epoch(&self) -> Self::Epoch

Returns the epoch associated with this object.