#[cfg(feature ="serde")]useserde::{Deserialize, Serialize};/// Basic process metadata associated with a socket.
#[derive(Eq, PartialEq, Hash, Debug, Clone)]#[cfg_attr(feature ="serde",derive(Serialize, Deserialize))]pubstructProcess{/// Process identifier.
pubpid:u32,
/// Process name as reported by the operating system.
pubname: String,
}