pub fn key(&self) -> K {
        match self {
            Self::Read(key) => *key,
            Self::Write(entry) => entry.key,
        }
    }
Returns the tree key this instruction is related to.
core/lib/merkle_tree/src/types/mod.rs