pub struct RecoveryStatus {
pub state: State,
pub agent_running: bool,
pub is_stale: bool,
pub age: String,
pub lock_held: Option<String>,
}Expand description
Result of inspecting an existing workflow state.
Fields§
§state: StateThe loaded workflow state.
agent_running: boolWhether the agent process is still running.
is_stale: boolWhether the state is considered stale (>24h without agent).
age: StringHuman-readable age of the state.
lock_held: Option<String>Whether a lock file is present (shows holder PID).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecoveryStatus
impl RefUnwindSafe for RecoveryStatus
impl Send for RecoveryStatus
impl Sync for RecoveryStatus
impl Unpin for RecoveryStatus
impl UnsafeUnpin for RecoveryStatus
impl UnwindSafe for RecoveryStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more