StateChangesExt

Trait StateChangesExt 

Source
pub trait StateChangesExt {
    // Required methods
    fn from_changes(
        raw_changes: impl Iterator<Item = Result<RawStateChangesWithTrieKey, Error>>,
    ) -> Result<StateChanges, Error>;
    fn from_account_changes(
        raw_changes: impl Iterator<Item = Result<RawStateChangesWithTrieKey, Error>>,
    ) -> Result<StateChanges, Error>;
    fn from_access_key_changes(
        raw_changes: impl Iterator<Item = Result<RawStateChangesWithTrieKey, Error>>,
    ) -> Result<StateChanges, Error>;
    fn from_contract_code_changes(
        raw_changes: impl Iterator<Item = Result<RawStateChangesWithTrieKey, Error>>,
    ) -> Result<StateChanges, Error>;
    fn from_data_changes(
        raw_changes: impl Iterator<Item = Result<RawStateChangesWithTrieKey, Error>>,
    ) -> Result<StateChanges, Error>;
}

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§