#[repr(C)]pub struct MemoryStall {
pub stall_time_some: zx_duration_t,
pub stall_time_full: zx_duration_t,
}
Fields§
§stall_time_some: zx_duration_t
§stall_time_full: zx_duration_t
Trait Implementations§
Source§impl Clone for MemoryStall
impl Clone for MemoryStall
Source§fn clone(&self) -> MemoryStall
fn clone(&self) -> MemoryStall
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 MemoryStall
impl Debug for MemoryStall
Source§impl Default for MemoryStall
impl Default for MemoryStall
Source§fn default() -> MemoryStall
fn default() -> MemoryStall
Returns the “default value” for a type. Read more
Source§impl From<zx_info_memory_stall_t> for MemoryStall
impl From<zx_info_memory_stall_t> for MemoryStall
Source§fn from(info: zx_info_memory_stall_t) -> MemoryStall
fn from(info: zx_info_memory_stall_t) -> MemoryStall
Converts to this type from the input type.
Source§impl FromBytes for MemoryStallwhere
zx_duration_t: FromBytes,
impl FromBytes for MemoryStallwhere
zx_duration_t: FromBytes,
Source§impl FromZeros for MemoryStallwhere
zx_duration_t: FromZeros,
impl FromZeros for MemoryStallwhere
zx_duration_t: FromZeros,
Source§impl IntoBytes for MemoryStall
impl IntoBytes for MemoryStall
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for MemoryStall
impl PartialEq for MemoryStall
Source§impl TryFromBytes for MemoryStallwhere
zx_duration_t: TryFromBytes,
impl TryFromBytes for MemoryStallwhere
zx_duration_t: TryFromBytes,
§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 MemoryStall
impl Eq for MemoryStall
impl Immutable for MemoryStallwhere
zx_duration_t: Immutable,
impl StructuralPartialEq for MemoryStall
Auto Trait Implementations§
impl Freeze for MemoryStall
impl RefUnwindSafe for MemoryStall
impl Send for MemoryStall
impl Sync for MemoryStall
impl Unpin for MemoryStall
impl UnwindSafe for MemoryStall
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