Skip to main content

Module error

Module error 

Source
Expand description

The one error type for the whole VFS stack.

Panic-free (Paranoid Gatekeeper): every failure is a typed value carrying enough context to diagnose it. Two rules from the fleet discipline are baked into the shape here:

Structs§

SmallHex
A short, inline snapshot of offending bytes for diagnostics — never a heap allocation on the hot error path, and capped so a hostile stream cannot make an error message unbounded.

Enums§

VfsError
Every fallible operation in the VFS returns this. #[non_exhaustive] so a new variant is an additive, non-breaking change.

Type Aliases§

VfsResult
Convenience alias.