pub struct ProcessStartRequest {
pub id: ProcessId,
pub input: ProcessInput,
pub descriptor: ProcessHandleDescriptor,
pub event_types: Vec<ProcessEventType>,
}Expand description
Public host-facing request for starting a visible process handle.
Fields§
§id: ProcessId§input: ProcessInput§descriptor: ProcessHandleDescriptor§event_types: Vec<ProcessEventType>Implementations§
Source§impl ProcessStartRequest
impl ProcessStartRequest
pub fn new( id: impl Into<ProcessId>, input: ProcessInput, descriptor: ProcessHandleDescriptor, ) -> Self
pub fn external( id: impl Into<ProcessId>, descriptor: ProcessHandleDescriptor, metadata: Value, ) -> Self
pub fn with_event_types( self, event_types: impl IntoIterator<Item = ProcessEventType>, ) -> Self
pub fn with_extra_event_types( self, event_types: impl IntoIterator<Item = ProcessEventType>, ) -> Self
Trait Implementations§
Source§impl Clone for ProcessStartRequest
impl Clone for ProcessStartRequest
Source§fn clone(&self) -> ProcessStartRequest
fn clone(&self) -> ProcessStartRequest
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 moreSource§impl Debug for ProcessStartRequest
impl Debug for ProcessStartRequest
Source§impl<'de> Deserialize<'de> for ProcessStartRequest
impl<'de> Deserialize<'de> for ProcessStartRequest
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 !RefUnwindSafe for ProcessStartRequest
impl !UnwindSafe for ProcessStartRequest
impl Freeze for ProcessStartRequest
impl Send for ProcessStartRequest
impl Sync for ProcessStartRequest
impl Unpin for ProcessStartRequest
impl UnsafeUnpin for ProcessStartRequest
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