Struct tee_internal::ObjectHandle
source · #[repr(C)]pub struct ObjectHandle(/* private fields */);
Implementations§
source§impl ObjectHandle
impl ObjectHandle
pub fn from_value(value: u64) -> Self
source§impl ObjectHandle
impl ObjectHandle
pub fn from_binding<'a>(input: &'a TEE_ObjectHandle) -> &'a Self
source§impl ObjectHandle
impl ObjectHandle
pub fn to_binding<'a>(&'a self) -> &'a TEE_ObjectHandle
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Clone for ObjectHandle
impl Clone for ObjectHandle
source§fn clone(&self) -> ObjectHandle
fn clone(&self) -> ObjectHandle
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 ObjectHandle
impl Debug for ObjectHandle
source§impl Deref for ObjectHandle
impl Deref for ObjectHandle
source§impl DerefMut for ObjectHandle
impl DerefMut for ObjectHandle
source§impl PartialEq for ObjectHandle
impl PartialEq for ObjectHandle
source§fn eq(&self, other: &ObjectHandle) -> bool
fn eq(&self, other: &ObjectHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ObjectHandle
impl Eq for ObjectHandle
impl StructuralPartialEq for ObjectHandle
Auto Trait Implementations§
impl Freeze for ObjectHandle
impl RefUnwindSafe for ObjectHandle
impl Send for ObjectHandle
impl Sync for ObjectHandle
impl Unpin for ObjectHandle
impl UnwindSafe for ObjectHandle
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
)