Menu

Enum

FsConfigError

kurogane::capability::FsConfigErrorSource
#[non_exhaustive] pub enum FsConfigError { ForeignScope, OpaqueOrigin, Root { path: PathBuf, source: Error }, DenyOutsideRoots { scope: String, path: PathBuf }, InvalidGlob { scope: String, pattern: String, reason: &'static str }, }

A Filesystem configuration that cannot be built. These are developer-facing and may name paths; they never reach a renderer.

Variants

#ForeignScope

A grant uses a ScopeId declared on another builder.

#OpaqueOrigin

A grant targets the opaque origin, which would match every frame without a host.

#Root { path: PathBuf, source: Error }

An allow root cannot be opened as a directory.

#DenyOutsideRoots { scope: String, path: PathBuf }

A deny_path lies outside every allow root of its scope.

#InvalidGlob { scope: String, pattern: String, reason: &'static str }

A deny_glob pattern is malformed.

Trait implementations