pub struct ProcessStartData {
pub process: Process,
pub root_vmar: Vmar,
pub thread: Thread,
pub entry: u64,
pub stack: u64,
pub bootstrap: Channel,
pub vdso_base: u64,
pub base: u64,
}Expand description
The information required to start a process.
To start the process, call zx_process_start with the arguments provided.
Fields§
§process: Process§root_vmar: Vmar§thread: Thread§entry: u64§stack: u64§bootstrap: Channel§vdso_base: u64§base: u64Trait Implementations§
Source§impl CompatFrom<ProcessStartData> for ProcessStartData
impl CompatFrom<ProcessStartData> for ProcessStartData
Source§fn compat_from(value: ProcessStartData) -> Self
fn compat_from(value: ProcessStartData) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<ProcessStartData> for ProcessStartData
impl CompatFrom<ProcessStartData> for ProcessStartData
Source§fn compat_from(value: ProcessStartData) -> Self
fn compat_from(value: ProcessStartData) -> Self
Converts
value into a value of this type.Source§impl Debug for ProcessStartData
impl Debug for ProcessStartData
Source§impl<___E> Encode<ProcessStartData, ___E> for ProcessStartDatawhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<ProcessStartData, ___E> for ProcessStartDatawhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ProcessStartData>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ProcessStartData>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> EncodeOption<WireBox<'static, ProcessStartData>, ___E> for ProcessStartData
impl<___E> EncodeOption<WireBox<'static, ProcessStartData>, ___E> for ProcessStartData
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<WireBox<'static, ProcessStartData>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<WireBox<'static, ProcessStartData>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<ProcessStartData> for ProcessStartData
impl FromWire<ProcessStartData> for ProcessStartData
Source§fn from_wire(wire: ProcessStartData) -> Self
fn from_wire(wire: ProcessStartData) -> Self
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for ProcessStartData
impl PartialEq for ProcessStartData
impl StructuralPartialEq for ProcessStartData
Auto Trait Implementations§
impl Freeze for ProcessStartData
impl RefUnwindSafe for ProcessStartData
impl Send for ProcessStartData
impl Sync for ProcessStartData
impl Unpin for ProcessStartData
impl UnwindSafe for ProcessStartData
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire to an option of this type.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]