pub struct ProcessHandle(/* private fields */);
Expand description
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.
Implementations§
Trait Implementations§
Source§impl Debug for ProcessHandle
impl Debug for ProcessHandle
Source§impl<'de> Deserialize<'de> for ProcessHandle
impl<'de> Deserialize<'de> for ProcessHandle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProcessHandle
impl RefUnwindSafe for ProcessHandle
impl Send for ProcessHandle
impl Sync for ProcessHandle
impl Unpin for ProcessHandle
impl UnwindSafe for ProcessHandle
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