pub trait CheckShardSegmentsChainInfo: DeriveSuperSegmentForBlockChainInfo {
// Required method
fn shard_max_local_segment_index(
&self,
shard_index: ShardIndex,
) -> Option<LocalSegmentIndex>;
}Expand description
Chain info for check_shard_segments().
Must have access to enough parent blocks.
Required Methods§
Sourcefn shard_max_local_segment_index(
&self,
shard_index: ShardIndex,
) -> Option<LocalSegmentIndex>
fn shard_max_local_segment_index( &self, shard_index: ShardIndex, ) -> Option<LocalSegmentIndex>
Returns the highest local segment index of a shard that was included in super segments
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".