Trait ReplicatedStateManagerTrait

Source
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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§