Struct sandbox_ipc::ProcessHandle
[−]
[src]
pub struct ProcessHandle(_);
ProcessHandles are needed to establish unsealed channels (i.e. channels that can transmit OS resources).
Security
You should not allow a less trusted process to either hold the ProcessHandle of or an unsealed channel to a more trusted process unless
absolutely necessary. On some platforms ProcessHandles and unsealed channels allow the holder to interfere with the other process.
Methods
impl ProcessHandle[src]
pub fn current() -> Result<Self>[src]
Gets the ProcessHandle for the current process.
pub fn from_child(child: &Child) -> Result<Self>[src]
pub fn clone(&self) -> Result<Self>[src]
Creates a copy of this ProcessHandle.