Skip to main content

EpochStartConfigTrait

Trait EpochStartConfigTrait 

Source
pub trait EpochStartConfigTrait {
    // Required methods
    fn epoch_digest(&self) -> CheckpointDigest;
    fn epoch_start_state(&self) -> &EpochStartSystemState;
    fn flags(&self) -> &[EpochFlag];
    fn bridge_committee_initiated(&self) -> bool;
    fn system_object_initial_shared_version(
        &self,
        object_id: ObjectID,
    ) -> Option<SequenceNumber>;
}

Required Methods§

Source

fn epoch_digest(&self) -> CheckpointDigest

Source

fn epoch_start_state(&self) -> &EpochStartSystemState

Source

fn flags(&self) -> &[EpochFlag]

Source

fn bridge_committee_initiated(&self) -> bool

Source

fn system_object_initial_shared_version( &self, object_id: ObjectID, ) -> Option<SequenceNumber>

Returns the initial shared version of the given system object as of the start of the epoch, or None if the object did not exist yet.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§