#[non_exhaustive]pub struct ChildProcessInfo {
pub pid: u32,
pub ppid: u32,
pub name: String,
pub memory_bytes: Option<u64>,
}Expand description
Information about a child process of the Tauri application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pid: u32Process ID.
ppid: u32Parent process ID.
name: StringExecutable name (not full path).
memory_bytes: Option<u64>Memory usage in bytes (working set / RSS), if available.
Trait Implementations§
Source§impl Clone for ChildProcessInfo
impl Clone for ChildProcessInfo
Source§impl Debug for ChildProcessInfo
impl Debug for ChildProcessInfo
Auto Trait Implementations§
impl Freeze for ChildProcessInfo
impl RefUnwindSafe for ChildProcessInfo
impl Send for ChildProcessInfo
impl Sync for ChildProcessInfo
impl Unpin for ChildProcessInfo
impl UnsafeUnpin for ChildProcessInfo
impl UnwindSafe for ChildProcessInfo
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