Menu

Enum

FsError

kurogane::capability::FsErrorSource
#[non_exhaustive] pub enum FsError { CapabilityDenied, PathDenied(Denial), InvalidPath(&'static str), TooLarge { limit: u64 }, Io(Error), }

Failure of one filesystem operation performed for an origin.

Variants

#CapabilityDenied

No grant of the origin carries the capability the operation needs.

#PathDenied(Denial)

A grant carries the capability, but not for this path.

#InvalidPath(&'static str)

The request path is malformed. The reason is a category, never the path.

#TooLarge { limit: u64 }

The file is larger than the transfer limit (FilesystemBuilder::max_file_size).

#Io(Error)

The authorized operation failed in the OS. The caller is inside the grant for this object. The OS detail may be shown.

Trait implementations