pub struct ProcessEntry {
pub pid: u32,
pub parent_pid: u32,
pub name: String,
pub command: String,
pub memory_bytes: u64,
}Expand description
One descendant process the scanner found alive. Field shape is
driven by what a view’s process row builder needs (PID + cmdline +
memory for the metadata line) + the cmdline-matching needed for
wire-tracked overlay (process_cmdline_matches_tool_input).
Fields§
§pid: u32OS process identifier.
parent_pid: u32Parent process identifier - claude_pid for direct children,
some other descendant for grandchildren.
name: StringProcess name as the OS reports it (e.g. "zsh", "cargo",
"rustc"). Used as the row headline when no wire-tracked
task overlay matches.
command: StringFull cmdline joined with spaces (e.g.
"cargo nextest run --no-fail-fast"). Used for the row’s
detail line and for fuzzy match against ToolCall.raw_input.command.
memory_bytes: u64Resident memory in bytes. Rendered abbreviated (234M,
1.2G) on the row’s metadata line.
Trait Implementations§
Source§impl Clone for ProcessEntry
impl Clone for ProcessEntry
Source§fn clone(&self) -> ProcessEntry
fn clone(&self) -> ProcessEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessEntry
impl Debug for ProcessEntry
Source§impl<'de> Deserialize<'de> for ProcessEntry
impl<'de> Deserialize<'de> for ProcessEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ProcessEntry
Source§impl PartialEq for ProcessEntry
impl PartialEq for ProcessEntry
Source§impl Serialize for ProcessEntry
impl Serialize for ProcessEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ProcessEntry
Auto Trait Implementations§
impl Freeze for ProcessEntry
impl RefUnwindSafe for ProcessEntry
impl Send for ProcessEntry
impl Sync for ProcessEntry
impl Unpin for ProcessEntry
impl UnsafeUnpin for ProcessEntry
impl UnwindSafe for ProcessEntry
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more