Expand description
Backend trait — the capnp-RPC-shaped seam the translator dispatches to.
Each method mirrors a 9P2000.L filesystem operation as expressed in
nine.capnp (NpWalk / NpOpen / NpRead / NpWrite / NpClunk / NpStatReq).
The translator owns the server-side fid table and calls these methods
after resolving the incoming 9P fid.
MemoryBackend (crate::memory::MemoryBackend) provides an
in-process implementation for standalone tests; the hyprstream binary
crate ships a ModelBackend that wraps the generated ModelClient and
turns each call into a capnp RPC against the model service’s fs scope
(the inverse of RemoteModelMount, which goes VFS → RPC).
Structs§
- Open
Result - Result of an open/lopen.
- Stat
Result - Result of a stat/getattr.
- Walk
Result - Result of a walk: the qid of the resolved path and, for directories, the
qids of each intermediate component. For a single-component walk (the
common case for this translator)
qidsholds exactly the leaf qid.
Traits§
- Backend
- 9P filesystem backend.