pub fn put_trie_and_find_missing_descendant_trie_keys(
        &self,
        correlation_id: CorrelationId,
        trie: &Trie<Key, StoredValue>,
    ) -> Result<Vec<Digest>, Error>
    where
        Error: From<S::Error>,
    {
        let inserted_trie_key = self.state.put_trie(correlation_id, trie)?;
        let missing_descendant_trie_keys = self
            .state
            .missing_trie_keys(correlation_id, vec![inserted_trie_key])?;
        Ok(missing_descendant_trie_keys)
    }
/// Puts a trie and finds missing descendant trie keys.
Puts a trie and finds missing descendant trie keys.
Puts a trie and finds missing descendant trie keys .
pub fn put_trie_and_find_missing_descendant_trie_keys(
        &self,
        correlation_id: CorrelationId,
        trie: &Trie<Key, StoredValue>,
    ) -> Result<Vec<Digest>, Error>
    where
        Error: From<S::Error>,
    {
        let inserted_trie_key = self.state.put_trie(correlation_id, trie)?;
        let missing_descendant_trie_keys = self
            .state
            .missing_trie_keys(correlation_id, vec![inserted_trie_key])?;
        Ok(missing_descendant_trie_keys)
    }
pub fn put_trie_and_find_missing_descendant_trie_keys ( & self , correlation_id : CorrelationId , trie : & Trie < Key , StoredValue > , ) -> Result < Vec < Digest > , Error > where Error : From < S :: Error > , { let inserted_trie_key = self . state . put_trie ( correlation_id , trie ) ? ; let missing_descendant_trie_keys = self . state . missing_trie_keys ( correlation_id , vec ! [ inserted_trie_key ] ) ? ; Ok ( missing_descendant_trie_keys ) }
Puts a trie and finds missing descendant trie keys.
Puts a trie and finds missing descendant trie keys .
&self
correlation_id
CorrelationId
trie
&Trie<Key, StoredValue>
&self
correlation_id
CorrelationId
trie
&Trie<Key, StoredValue>