pub trait SandboxedFs: Send + Sync {
// Required method
fn read(&self, relative: &Path) -> Result<Option<FileContent>, ReadError>;
}Expand description
Interface for sandboxed file reading.
An I/O abstraction. Swap the implementation for test mocks or alternative backends (in-memory FS, embedded assets, etc.).