Struct zx::HandleCountInfo
source · #[repr(C)]pub struct HandleCountInfo {
pub handle_count: u32,
}
Fields§
§handle_count: u32
Trait Implementations§
source§impl Clone for HandleCountInfo
impl Clone for HandleCountInfo
source§fn clone(&self) -> HandleCountInfo
fn clone(&self) -> HandleCountInfo
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 HandleCountInfo
impl Debug for HandleCountInfo
source§impl Default for HandleCountInfo
impl Default for HandleCountInfo
source§fn default() -> HandleCountInfo
fn default() -> HandleCountInfo
Returns the “default value” for a type. Read more
source§impl From<zx_info_handle_count_t> for HandleCountInfo
impl From<zx_info_handle_count_t> for HandleCountInfo
source§fn from(_: zx_info_handle_count_t) -> Self
fn from(_: zx_info_handle_count_t) -> Self
Converts to this type from the input type.
source§impl FromBytes for HandleCountInfowhere
u32: FromBytes,
impl FromBytes for HandleCountInfowhere
u32: FromBytes,
source§impl FromZeros for HandleCountInfowhere
u32: FromZeros,
impl FromZeros for HandleCountInfowhere
u32: FromZeros,
source§impl PartialEq for HandleCountInfo
impl PartialEq for HandleCountInfo
source§fn eq(&self, other: &HandleCountInfo) -> bool
fn eq(&self, other: &HandleCountInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromBytes for HandleCountInfowhere
u32: TryFromBytes,
impl TryFromBytes for HandleCountInfowhere
u32: 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 HandleCountInfo
impl Eq for HandleCountInfo
impl Immutable for HandleCountInfowhere
u32: Immutable,
impl StructuralPartialEq for HandleCountInfo
Auto Trait Implementations§
impl Freeze for HandleCountInfo
impl RefUnwindSafe for HandleCountInfo
impl Send for HandleCountInfo
impl Sync for HandleCountInfo
impl Unpin for HandleCountInfo
impl UnwindSafe for HandleCountInfo
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
)