Skip to content

error

Enums

Type Aliases

  • Result - Convenience alias used throughout the crate.

Type Alias: std::result::Result<T, RuntimeStateError>

Convenience alias used throughout the crate.

firma_runtime_state::error::RuntimeStateError

Section titled “firma_runtime_state::error::RuntimeStateError”

Enum

Error type returned by runtime filesystem state operations.

Variants:

  • MarkerParse{ path: std::path::PathBuf, source: Box<toml::de::Error> } - A sidecar marker file (metadata.toml) is present but not valid TOML.
  • StateDirResolve(String) - State-dir resolution chain (flag, env, platform default) produced
  • Io(io::Error) - Generic I/O error.

Trait Implementations:

  • From
    • fn from(source: io::Error) -> Self
  • Display
    • fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
  • Error
    • fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result