pub struct ProcessHandle {
pub id: Uuid,
pub pid: u32,
}Expand description
Opaque handle to a managed child returned by ProcessPort::spawn.
Fields§
§id: UuidAdapter-local process id.
pid: u32OS process (or process-group leader) pid at spawn time.
Trait Implementations§
Source§impl Clone for ProcessHandle
impl Clone for ProcessHandle
Source§fn clone(&self) -> ProcessHandle
fn clone(&self) -> ProcessHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessHandle
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
impl Eq for ProcessHandle
Source§impl PartialEq for ProcessHandle
impl PartialEq for ProcessHandle
Source§impl Serialize for ProcessHandle
impl Serialize for ProcessHandle
impl StructuralPartialEq for ProcessHandle
Auto Trait Implementations§
impl Freeze for ProcessHandle
impl RefUnwindSafe for ProcessHandle
impl Send for ProcessHandle
impl Sync for ProcessHandle
impl Unpin for ProcessHandle
impl UnsafeUnpin 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