Struct zx::ProcessInfo
source · #[repr(C)]pub struct ProcessInfo {
pub return_code: i64,
pub start_time: zx_time_t,
pub flags: u32,
}
Fields§
§return_code: i64
§start_time: zx_time_t
§flags: u32
Trait Implementations§
source§impl Clone for ProcessInfo
impl Clone for ProcessInfo
source§fn clone(&self) -> ProcessInfo
fn clone(&self) -> ProcessInfo
Returns a copy of the value. Read more
1.0.0 · 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 ProcessInfo
impl Debug for ProcessInfo
source§impl Default for ProcessInfo
impl Default for ProcessInfo
source§fn default() -> ProcessInfo
fn default() -> ProcessInfo
Returns the “default value” for a type. Read more
source§impl From<zx_info_process_t> for ProcessInfo
impl From<zx_info_process_t> for ProcessInfo
source§fn from(info: zx_info_process_t) -> ProcessInfo
fn from(info: zx_info_process_t) -> ProcessInfo
Converts to this type from the input type.
source§impl FromBytes for ProcessInfo
impl FromBytes for ProcessInfo
source§impl FromZeros for ProcessInfo
impl FromZeros for ProcessInfo
source§impl PartialEq for ProcessInfo
impl PartialEq for ProcessInfo
source§fn eq(&self, other: &ProcessInfo) -> bool
fn eq(&self, other: &ProcessInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromBytes for ProcessInfo
impl TryFromBytes for ProcessInfo
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for ProcessInfo
impl Eq for ProcessInfo
impl Immutable for ProcessInfo
impl StructuralPartialEq for ProcessInfo
Auto Trait Implementations§
impl Freeze for ProcessInfo
impl RefUnwindSafe for ProcessInfo
impl Send for ProcessInfo
impl Sync for ProcessInfo
impl Unpin for ProcessInfo
impl UnwindSafe for ProcessInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)