pub fn fetch(
env: &Environment,
from: &Arc<SerializedFile>,
inline: &Bytes,
stream: Option<&Stream>,
meter: &Arc<Meter>,
) -> Result<Bytes, Error>Expand description
Inline data wins. Otherwise search own rows, then the Environment. Missing streams and empty paths give empty data. Returned bytes share their existing allocation; all name and resource allocations are charged by the core before allocation, and lookup work is metered.