pub fn for_keys_in_child_storage<F: FnMut(&[u8])>(&self, storage_key: &[u8], f: F) {
		let root = match self.storage(storage_key) {
			Ok(v) => v.unwrap_or(default_child_trie_root::<H>(storage_key)),
			Err(e) => {
				debug!(target: "trie", "Error while iterating child storage: {}", e);
				return;
			}
		};

		let mut read_overlay = S::Overlay::default();
		let eph = Ephemeral {
			storage: &self.storage,
			overlay: &mut read_overlay,
		};

		if let Err(e) = for_keys_in_child_trie::<H, _, Ephemeral<S, H>>(storage_key, &eph, &root, f) {
			debug!(target: "trie", "Error while iterating child storage: {}", e);
		}
	}
/// Retrieve all entries keys of child storage and call `f` for each of those keys.
Retrieve all entries keys of child storage and call `f` for each of those keys.
Retrieve all entries keys of child storage and call ` f ` for each of those keys .
pub fn for_keys_in_child_storage<F: FnMut(&[u8])>(&self, storage_key: &[u8], f: F) {
		let root = match self.storage(storage_key) {
			Ok(v) => v.unwrap_or(default_child_trie_root::<H>(storage_key)),
			Err(e) => {
				debug!(target: "trie", "Error while iterating child storage: {}", e);
				return;
			}
		};
		let mut read_overlay = S::Overlay::default();
		let eph = Ephemeral {
			storage: &self.storage,
			overlay: &mut read_overlay,
		};
		if let Err(e) = for_keys_in_child_trie::<H, _, Ephemeral<S, H>>(storage_key, &eph, &root, f) {
			debug!(target: "trie", "Error while iterating child storage: {}", e);
		}
	}
pub fn for_keys_in_child_storage < F : FnMut ( & [ u8 ] ) > ( & self , storage_key : & [ u8 ] , f : F ) { let root = match self . storage ( storage_key ) { Ok ( v ) => v . unwrap_or ( default_child_trie_root :: < H > ( storage_key ) ) , Err ( e ) => { debug ! ( target " " " " e ) ; return ; } } ; let mut read_overlay = S :: Overlay :: default ( ) ; let eph = Ephemeral { storage : & self . storage , overlay : & mut read_overlay , } ; if let Err ( e ) = for_keys_in_child_trie :: < H , _ , Ephemeral < S , H > > ( storage_key , & eph , & root , f ) { debug ! ( target " " " " e ) ; } }
Retrieve all entries keys of child storage and call `f` for each of those keys.
Retrieve all entries keys of child storage and call ` f ` for each of those keys .
&self
storage_key
&[u8]
f
F
&self
storage_key
&[u8]
f
F