//! This module contains resolver of a memory section of the WASM code.
use MemoryRef;
use ResolverError;
/// This trait takes care of returning an instance of allocated memory.
///
/// This happens once the WASM program tries to resolve "memory". Whenever
/// contract didn't request a memory this method should return an Error.