pub trait ReplicatedStateManagerTrait {
// Required methods
fn get_replicated_state_for_next_epoch(
self: &Arc<Self>,
parent_epoch_id: StateIndex
) -> Result<Option<Box<dyn StateTrait>>>;
fn get_replicated_state_for_genesis_write(
self: &Arc<Self>
) -> Box<dyn StateTrait>;
}
Required Methods§
fn get_replicated_state_for_next_epoch( self: &Arc<Self>, parent_epoch_id: StateIndex ) -> Result<Option<Box<dyn StateTrait>>>
fn get_replicated_state_for_genesis_write( self: &Arc<Self> ) -> Box<dyn StateTrait>
Object Safety§
This trait is not object safe.