pub fn read(pid: u32) -> Option<SessionMeta>Expand description
Read + parse the per-PID session file. Returns None on any failure
path (missing, unreadable, malformed JSON, unrecognised status) so
the caller can fall back to another signal.
pub fn read(pid: u32) -> Option<SessionMeta>Read + parse the per-PID session file. Returns None on any failure
path (missing, unreadable, malformed JSON, unrecognised status) so
the caller can fall back to another signal.