Skip to content

policy

Structs

Enums


firma_tui::control::state::policy::PolicyRewriteCompletion

Section titled “firma_tui::control::state::policy::PolicyRewriteCompletion”

Struct

Fields:

  • file: std::path::PathBuf
  • ids: Vec<String>
  • requested: crate::control::toggle::PolicyState
  • result: Result<(), crate::control::error::ControlError>

Trait Implementations:

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

firma_tui::control::state::policy::PolicyRewriteRequest

Section titled “firma_tui::control::state::policy::PolicyRewriteRequest”

Struct

Fields:

  • file: std::path::PathBuf
  • ids: Vec<String>
  • requested: crate::control::toggle::PolicyState

Trait Implementations:

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

firma_tui::control::state::policy::PolicyRewriteStart

Section titled “firma_tui::control::state::policy::PolicyRewriteStart”

Struct

Fields:

  • file: std::path::PathBuf
  • ids: Vec<String>

Trait Implementations:

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

firma_tui::control::state::policy::PolicyRow

Section titled “firma_tui::control::state::policy::PolicyRow”

Struct

Fields:

  • id: String
  • status: PolicyRowStatus

Traits: Eq

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &PolicyRow) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> PolicyRow

firma_tui::control::state::policy::PolicyRowStatus

Section titled “firma_tui::control::state::policy::PolicyRowStatus”

Enum

Variants:

  • State(crate::control::toggle::PolicyState)
  • Queued
  • Writing
  • Error

Traits: Copy, Eq

Trait Implementations:

  • Clone
    • fn clone(self: &Self) -> PolicyRowStatus
  • PartialEq
    • fn eq(self: &Self, other: &PolicyRowStatus) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result