Skip to content

Read access and mutable borrows diagrams ​

Read access and mutable borrows

Start with how the application begins, then follow data between its folders. Open an operation to see its decisions, calls, failures and cleanup. Its explanation supplies the exact contract and linked dependencies.

This view includes 2 application source files. Package and interface boundaries show checked contracts; their runtime implementations are not expanded. The views describe the checked program, not desired requirements or a recorded execution.

Where execution begins ​

Startup ​

It creates Counter with value 1 and stores the result in owned counter (Counter). It calls counter.increment. It prints counter.read. source

Data flow ​

100%
Mermaid source
flowchart TD
    n0["counter"]
    n1["Startup"]
    n1 -->|"Counter(value) / Counter.increment + 1 more → Counter / int"| n0

Follow the data ​

Each row opens the complete operations and call sites behind one pair of logical units. A grouped arrow records calls between those units; connected arrows need not belong to the same execution path.

FromToOperationsRead
Startupcounter3Inputs, results and call sites

Data crossing these boundaries (3 contracts) ​

Startup → counter ​

3 operations, 3 sites

Counter

Inputs: value: int. Result: Counter.

Caller or entryEvidence
StartupCall site · Caller explanation

Counter.increment

No caller-supplied inputs. Result: void.

Caller or entryEvidence
StartupCall site · Caller explanation

Counter.read

No caller-supplied inputs. Result: int.

Caller or entryEvidence
StartupCall site · Caller explanation

Open a module ​

ModuleRead
counter.augFlow and sequences · Explanation
main.augFlow and sequences · Explanation

These are static call boundaries, not a request trace. Interface implementations and foreign internals stop at their checked contracts. Dotted arrows defer a callback or browser action. Imports alone do not imply a call.

Last updated:

The world runs on language