Store: Inside a Bound Service Find the code that uses the tree Branch nine is attached. When the Shop installed, App opened the root's attachments, bound Branches and Settings to their memories, and gave Checkout references to both services. These are Rust service objects. Each binding identifies the memory the service is allowed to use. The Shop test puts item forty-four in branch nine. Each unit costs a hundred. There are eight in stock. Settings holds the five percent tax. Get the subtotal through a borrowed view A checkout asks for three units of item forty-four. The actor opens one write scope for the call. Checkout gets a borrowed view in that scope and uses it to call the Branches service for a quote. Branches looks up key nine in its Child Map and uses that reference to bind an Inventory service for the operation. The attachment still owns the memory. The Inventory view can read its data while the caller's scope is open. Inventory opens a read guard on its own data. Eight are available, so three at a hundred gives a subtotal of three hundred. The guard closes. The quote returns the number to Checkout. Read tax, then change stock Checkout asks Settings for the tax. Settings reads its own data and returns five hundred basis points. Checkout applies that rate to the subtotal. The total is three hundred and fifteen. Checkout asks Branches to sell the three units. Branches binds the inventory again for this call. Now Inventory opens a write guard, checks the quantity, and takes three from stock. Five remain. Checkout returns three hundred and fifteen. The test asks for six next. Inventory has five. The quote comes back empty, so Checkout returns early from this call. Rebuild the service layer The native test drops the App. Its service objects go away. Branch nine and the tax setting are still in the Store. The test opens the same Store and App builds fresh services. It reads the five hundred basis point tax and finds branch nine under Branches. Follow that branch to its item map. Nyxus stores the map's entries as native Rust values in the retained heap.