pub struct PeerObservation {
pub user: PeerUser,
pub pid: u32,
pub exe: Option<PathBuf>,
pub signing_id: Option<String>,
}Expand description
What the kernel reported about an observed peer process.
Fields§
§user: PeerUserThe peer’s user: a uid on macOS and Linux, a SID on Windows.
pid: u32The peer’s process id as the kernel recorded it for this connection.
exe: Option<PathBuf>The peer’s executable path, absent when it could not be read.
signing_id: Option<String>The peer’s code-signing identifier (macOS only), present only when its
signature passed SecCodeCheckValidity.
Trait Implementations§
Source§impl Clone for PeerObservation
impl Clone for PeerObservation
Source§impl Debug for PeerObservation
impl Debug for PeerObservation
impl Eq for PeerObservation
Source§impl PartialEq for PeerObservation
impl PartialEq for PeerObservation
impl StructuralPartialEq for PeerObservation
Auto Trait Implementations§
impl Freeze for PeerObservation
impl RefUnwindSafe for PeerObservation
impl Send for PeerObservation
impl Sync for PeerObservation
impl Unpin for PeerObservation
impl UnsafeUnpin for PeerObservation
impl UnwindSafe for PeerObservation
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