pub struct ProcessStartData {
pub process: Handle,
pub root_vmar: Handle,
pub thread: Handle,
pub entry: u64,
pub stack: u64,
pub bootstrap: Handle,
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: Handle
§root_vmar: Handle
§thread: Handle
§entry: u64
§stack: u64
§bootstrap: Handle
§vdso_base: u64
§base: u64
Trait Implementations§
Source§impl Debug for ProcessStartData
impl Debug for ProcessStartData
Source§impl Encodable for ProcessStartData
impl Encodable for ProcessStartData
Source§type Encoded = WireProcessStartData
type Encoded = WireProcessStartData
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl EncodableOption for ProcessStartData
impl EncodableOption for ProcessStartData
Source§type EncodedOption = WireBox<'static, WireProcessStartData>
type EncodedOption = WireBox<'static, WireProcessStartData>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for ProcessStartDatawhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for ProcessStartDatawhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for ProcessStartDatawhere
___E: Encoder + ?Sized,
ProcessStartData: Encode<___E>,
impl<___E> EncodeOption<___E> for ProcessStartDatawhere
___E: Encoder + ?Sized,
ProcessStartData: Encode<___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<WireProcessStartData> for ProcessStartData
impl FromWire<WireProcessStartData> for ProcessStartData
Source§fn from_wire(wire: WireProcessStartData) -> Self
fn from_wire(wire: WireProcessStartData) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§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.