[][src]Function trie::insert

pub fn insert<D: DatabaseHandle>(
    root: H256,
    database: &D,
    key: &[u8],
    value: &[u8]
) -> Result<(H256, Change), Error>

Insert to a merkle trie. Return the new root hash and the changes.