Struct zx::HandleBasicInfo
source · pub struct HandleBasicInfo {
pub koid: Koid,
pub rights: Rights,
pub object_type: ObjectType,
pub related_koid: Koid,
pub reserved: u32,
}
Expand description
Basic information about a handle.
Wrapper for data returned from Handle::basic_info().
Fields§
§koid: Koid
§rights: Rights
§object_type: ObjectType
§reserved: u32
Trait Implementations§
source§impl Clone for HandleBasicInfo
impl Clone for HandleBasicInfo
source§fn clone(&self) -> HandleBasicInfo
fn clone(&self) -> HandleBasicInfo
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 HandleBasicInfo
impl Debug for HandleBasicInfo
source§impl Default for HandleBasicInfo
impl Default for HandleBasicInfo
source§impl From<zx_info_handle_basic_t> for HandleBasicInfo
impl From<zx_info_handle_basic_t> for HandleBasicInfo
source§fn from(info: zx_info_handle_basic_t) -> Self
fn from(info: zx_info_handle_basic_t) -> Self
Converts to this type from the input type.
source§impl PartialEq for HandleBasicInfo
impl PartialEq for HandleBasicInfo
source§fn eq(&self, other: &HandleBasicInfo) -> bool
fn eq(&self, other: &HandleBasicInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HandleBasicInfo
impl Eq for HandleBasicInfo
impl StructuralPartialEq for HandleBasicInfo
Auto Trait Implementations§
impl Freeze for HandleBasicInfo
impl RefUnwindSafe for HandleBasicInfo
impl Send for HandleBasicInfo
impl Sync for HandleBasicInfo
impl Unpin for HandleBasicInfo
impl UnwindSafe for HandleBasicInfo
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
)