Skip to main content

Module vfs_mount

Module vfs_mount 

Source
Expand description

Generic VFS Mount driven by codegen — no per-service manual wrappers.

ServiceMount uses the proc-macro-generated dispatch(), schema_metadata(), and render_doc() functions to serve any service through the VFS. All serialization, method routing, and documentation are codegen-driven.

Mount points: /srv/{service} → ServiceMount (ctl for mutations, cat for queries) /srv/{service}/doc → DocMount (man pages from schema annotations) /wanix → WanixMount (Wanix-native VFS via 9P2000.L over DMA; optional — mounted only when running under Wanix, see [mount_wanix]). #409/#391.

Structs§

DocMount
GenericServiceMount
Generic VFS mount driven by a ServiceDispatch implementation.
MountContext
Context threaded into a MountFactory to build a service’s mount.
MountFactory
Inventory entry that registers a service’s generated mount.

Enums§

ServiceDispatchResult
Result from service dispatch — normal response or stream setup.

Traits§

ServiceDispatch
Trait for service-specific dispatch. Implemented via macro from generated code.

Functions§

mount_all_services
Mount every inventory-registered service into ns at /srv/{name}.