pub struct FdSnapshot {
pub schema_id: &'static str,
pub timestamp: String,
pub platform: &'static str,
pub pid: u32,
pub fds: Vec<FdInfo>,
pub warnings: Vec<String>,
}Expand description
Snapshot of open file descriptors for a process.
Fields§
§schema_id: &'static strSchema identifier for version detection.
timestamp: StringTimestamp of snapshot (ISO 8601).
platform: &'static strCurrent platform (e.g., “linux”, “macos”, “windows”).
pid: u32Target PID.
fds: Vec<FdInfo>List of open file descriptors.
warnings: Vec<String>Warnings about partial visibility.
Trait Implementations§
Source§impl Clone for FdSnapshot
impl Clone for FdSnapshot
Source§impl Debug for FdSnapshot
impl Debug for FdSnapshot
Auto Trait Implementations§
impl Freeze for FdSnapshot
impl RefUnwindSafe for FdSnapshot
impl Send for FdSnapshot
impl Sync for FdSnapshot
impl Unpin for FdSnapshot
impl UnsafeUnpin for FdSnapshot
impl UnwindSafe for FdSnapshot
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