#[repr(C)]pub struct TaskStatsInfo {
pub mem_mapped_bytes: usize,
pub mem_private_bytes: usize,
pub mem_shared_bytes: usize,
pub mem_scaled_shared_bytes: usize,
pub mem_fractional_scaled_shared_bytes: u64,
}
Fields§
§mem_mapped_bytes: usize
§mem_private_bytes: usize
Trait Implementations§
Source§impl Clone for TaskStatsInfo
impl Clone for TaskStatsInfo
Source§fn clone(&self) -> TaskStatsInfo
fn clone(&self) -> TaskStatsInfo
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 TaskStatsInfo
impl Debug for TaskStatsInfo
Source§impl Default for TaskStatsInfo
impl Default for TaskStatsInfo
Source§fn default() -> TaskStatsInfo
fn default() -> TaskStatsInfo
Returns the “default value” for a type. Read more
Source§impl From<zx_info_task_stats_t> for TaskStatsInfo
impl From<zx_info_task_stats_t> for TaskStatsInfo
Source§fn from(_: zx_info_task_stats_t) -> TaskStatsInfo
fn from(_: zx_info_task_stats_t) -> TaskStatsInfo
Converts to this type from the input type.
Source§impl FromBytes for TaskStatsInfo
impl FromBytes for TaskStatsInfo
Source§impl FromZeros for TaskStatsInfo
impl FromZeros for TaskStatsInfo
Source§impl PartialEq for TaskStatsInfo
impl PartialEq for TaskStatsInfo
Source§impl TryFromBytes for TaskStatsInfo
impl TryFromBytes for TaskStatsInfo
§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 TaskStatsInfo
impl Eq for TaskStatsInfo
impl Immutable for TaskStatsInfo
impl StructuralPartialEq for TaskStatsInfo
Auto Trait Implementations§
impl Freeze for TaskStatsInfo
impl RefUnwindSafe for TaskStatsInfo
impl Send for TaskStatsInfo
impl Sync for TaskStatsInfo
impl Unpin for TaskStatsInfo
impl UnwindSafe for TaskStatsInfo
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§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
)