pub trait StateMaintenanceTrait {
// Required methods
fn get_pivot_hash_from_epoch_number(
&self,
epoch_number: u64,
) -> Result<EpochId, String>;
fn get_epoch_execution_commitment_with_db(
&self,
block_hash: &EpochId,
) -> Option<EpochExecutionCommitment>;
}Required Methods§
fn get_pivot_hash_from_epoch_number( &self, epoch_number: u64, ) -> Result<EpochId, String>
fn get_epoch_execution_commitment_with_db( &self, block_hash: &EpochId, ) -> Option<EpochExecutionCommitment>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".