Expand description
Scheme Router (SR) - central registry for all schemes.
The Scheme Router manages scheme registration and provides a unified interface for mounting schemes in the VFS namespace.
§Usage
// Register a scheme
let scheme_id = scheme_router::register("my_scheme", my_scheme);
// Mount at a path
mount_scheme("my_scheme", "/my/path")?;Structs§
- Scheme
Entry - Scheme registry entry
- Scheme
Router - Scheme router state
Functions§
- get_
scheme - Get a scheme by name
- init_
builtin_ schemes - Initialize built-in schemes
- list_
schemes - List all registered schemes (for debugging)
- mount_
scheme - Mount a registered scheme at a path
- register_
initfs_ file - Register a static file in the kernel-backed /initfs scheme.
- register_
ipc_ scheme - Create and register an IPC scheme for a userspace server
- register_
scheme - Register a scheme globally