psutil 5.4.0

Process and system monitoring library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

use std::path::PathBuf;

use crate::Fd;

#[cfg_attr(feature = "serde", serde(crate = "renamed_serde"))]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct OpenFile {
	pub path: PathBuf,
	pub fd: Option<Fd>,
}