Struct sandbox_ipc::ProcessHandle [−][src]
pub struct ProcessHandle(_);
ProcessHandle
s 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 ProcessHandle
s and unsealed channels allow the holder to interfere with the other process.
Methods
impl ProcessHandle
[src]
impl ProcessHandle
pub fn current() -> Result<Self>
[src]
pub fn current() -> Result<Self>
Gets the ProcessHandle
for the current process.
pub fn from_child(child: &Child) -> Result<Self>
[src]
pub fn from_child(child: &Child) -> Result<Self>
pub fn clone(&self) -> Result<Self>
[src]
pub fn clone(&self) -> Result<Self>
Creates a copy of this ProcessHandle
.
Trait Implementations
impl Debug for ProcessHandle
[src]
impl Debug for ProcessHandle
Auto Trait Implementations
impl Send for ProcessHandle
impl Send for ProcessHandle
impl Sync for ProcessHandle
impl Sync for ProcessHandle