Skip to main content

ValidatorRsmStateWriter

Trait ValidatorRsmStateWriter 

Source
pub trait ValidatorRsmStateWriter: ValidatorRsmStateReader {
    // Required methods
    fn save_validator_rsm_root_summary_sync(
        &self,
        summary: &NewValidatorRsmRootSummary,
        advance_current: bool,
    ) -> Result<()>;
    fn save_rsm_block_header_sync(
        &self,
        block: &NewRsmBlockHeader,
    ) -> Result<()>;
    fn save_rsm_block_commands_sync(
        &self,
        commands: &[NewRsmBlockCommand],
    ) -> Result<()>;
}

Required Methods§

Implementors§