Struct privsep::process::Peer [−][src]
Expand description
A child process from the parent point of view.
Fields
name: &'static str
The process name.
handler: Option<Handler>
IPC channel to the child process.
pid: Pid
Process PID.
Methods from Deref<Target = Handler>
Send message to remote end.
pub async fn recv_message<T: DeserializeOwned>(
&self
) -> Result<Option<(Message, Option<Fd>, T)>>
pub async fn recv_message<T: DeserializeOwned>(
&self
) -> Result<Option<(Message, Option<Fd>, T)>>
Receive message from the remote end.