pub struct RegistryHints {
pub name: Option<String>,
pub session_id: Option<String>,
pub cwd: Option<PathBuf>,
pub version: Option<String>,
pub status: Option<String>,
}Expand description
What a harness’s own registry says about one of its processes, when it
keeps one (Claude Code’s ~/.claude/sessions/<pid>.json). Every field is
optional; a harness with no registry returns none of this.
Fields§
§name: Option<String>§session_id: Option<String>§cwd: Option<PathBuf>§version: Option<String>§status: Option<String>The harness’s own word for its state (busy, idle, …), which beats
any transcript heuristic.
Trait Implementations§
Source§impl Clone for RegistryHints
impl Clone for RegistryHints
Source§fn clone(&self) -> RegistryHints
fn clone(&self) -> RegistryHints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegistryHints
impl Debug for RegistryHints
Source§impl Default for RegistryHints
impl Default for RegistryHints
Source§fn default() -> RegistryHints
fn default() -> RegistryHints
Returns the “default value” for a type. Read more
impl Eq for RegistryHints
Source§impl PartialEq for RegistryHints
impl PartialEq for RegistryHints
impl StructuralPartialEq for RegistryHints
Auto Trait Implementations§
impl Freeze for RegistryHints
impl RefUnwindSafe for RegistryHints
impl Send for RegistryHints
impl Sync for RegistryHints
impl Unpin for RegistryHints
impl UnsafeUnpin for RegistryHints
impl UnwindSafe for RegistryHints
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