12 return std::make_unique<PolkadotTrieImpl>(f);
17 return std::make_shared<PolkadotTrieImpl>(std::move(root), std::move(f));
std::shared_ptr< TrieNode > NodePtr
std::unique_ptr< PolkadotTrie > createEmpty(PolkadotTrie::NodeRetrieveFunctor f) const override
std::function< outcome::result< NodePtr >(std::shared_ptr< OpaqueTrieNode > const &)> NodeRetrieveFunctor
std::shared_ptr< PolkadotTrie > createFromRoot(PolkadotTrie::NodePtr root, PolkadotTrie::NodeRetrieveFunctor f) const override