Skip to content

guard

Structs


firma_run::capability::guard::CapabilityFileGuard

Section titled “firma_run::capability::guard::CapabilityFileGuard”

Struct

Removes its file when dropped.

Methods:

  • fn new(path: PathBuf) -> Self - Guard the given seed file path.
  • fn path(self: &Self) -> &Path - The guarded path.

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Drop
    • fn drop(self: & mut Self)