local_credentials

Function local_credentials 

Source
pub fn local_credentials() -> PeerCredentials
Expand description

Get the current process’s real credentials (PID + UID).

Used to construct the local side of the Noise prologue. Both sides of the handshake must agree on each other’s PID/UID for the prologue to match.